ZenFone 7 pro 升級 android 12 後透過手機投放到 chromecast 裝置或是使用 Google Home 投放手機螢幕到 chromecast 都會一直顯示在連線中無法投放
手機端會顯示錯誤的 debug log
2022-05-25 12:34:40.646 2116-2116/? I/MediaRouterService: Connecting to route: Route 客廳 Google TV (com.google.android.gms/.cast.media.CastRemoteDisplayProviderService_Persistent:20e27a2de55b02db98fa16a31e948f96)
2022-05-25 12:34:40.647 3222-3222/? D/AudioDeviceWatcher: onRouteChanged RouteInfo{ name=客廳 Google TV, description=Chromecast, status=連線中…, category=RouteCategory{ name=系統 types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO ROUTE_TYPE_REMOTE_DISPLAY , presentationDisplay=null }
2022-05-25 12:34:41.854 1033-9894/? I/vendor.qti.hardware.servicetracker@1.2-service: startService() is called for servicecom.google.android.gms/.cast.service.CastSocketMultiplexerLifeCycleService_Persistent
2022-05-25 12:34:44.155 19372-26239/? E/CastSocket: [TcpProberDeviceController-1] Failed to shutdown the output stream socket: sph@66cbfb4.
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:842)
at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:424)
at sog.l(:com.google.android.gms@221514044@22.15.14 (190400-441847897):4)
at som.c(:com.google.android.gms@221514044@22.15.14 (190400-441847897):46)
at sol.run(:com.google.android.gms@221514044@22.15.14 (190400-441847897):2)
at java.lang.Thread.run(Thread.java:920)
2022-05-25 12:34:44.156 1033-7323/? I/vendor.qti.hardware.servicetracker@1.2-service: destroyService is called for service : com.google.android.gms/.cast.service.CastSocketMultiplexerLifeCycleService_Persistent
2022-05-25 12:34:44.159 19372-25233/? I/CastSocketMultiplexer: Stopping multiplexer...
2022-05-25 12:34:46.179 1033-7323/? I/vendor.qti.hardware.servicetracker@1.2-service: startService() is called for servicecom.google.android.gms/.cast.service.CastSocketMultiplexerLifeCycleService_Persistent