我设法将我的设备列入白名单,并获得了 AppID 并设置了我的接收器 URL。我能够构建和运行 CastSample 应用程序。我可以单击投射按钮,我的电视显示一个空白屏幕。我尝试从列表中选择一种媒体,但电视上没有显示任何内容。
从日志中,我在单击投射按钮几秒钟后看到了以下错误。我错过了什么吗?
07-30 20:29:12.895: W/StartSessionTask(19880): Expected a channel but never got a connection service URL
07-30 20:29:12.895: E/ApplicationSession(19880): StartSessionTask failed with error: failed to start application: no channel info received
07-30 20:29:12.900: E/CastSampleActivity(19880): onStartFailed failed to start application: no channel info received
07-30 20:39:58.690: V/CastSampleActivity(21776): Selecting Media
07-30 20:39:58.735: D/AbsListView(21776): Get MotionRecognitionManager
07-30 20:40:03.890: V/MediaSelectionDialog(21776): Selected media: Big Buck Bunny
07-30 20:40:34.055: V/CastSampleActivity(21776): onStop called and callback removed
07-30 20:41:05.870: V/CastSampleActivity(21776): onStart called and callback added