I want to develop an AP to share another (SOURCE) screen using a WiFi direct connection.
I successfully connect two devices via Wifi Direct API but It depends on the device you are trying to connect to Are there. By default, Android does not work as a Miracast / Wireless display sync. getPresentationDisplay () Returns Taps It seems that there is no additional to export the source device to the SINK device The display service is not available. Does API 4.2.2 support it? Or is there an API that I can register the display service to SOURCE?
// Get Media Router Service mmediaRouter = (MediaRouter) getSystemService (context.MEDIA_ROUTER_SERVICE); MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute (MediaRouter.ROUTE_TYPE_LIVE_VIDEO); If (path! = Null) {showcase display = display = route.get display (); If (display performance! = Null) {presentation presentation = new demo rendering (display it, presentation); Logs. I ("tracer", "presentation.show ();"); Presentation.show (); }}
To be able to get Android - Watch Android Wireless Display Share,
No comments:
Post a Comment