2016-09-21 115 views
4

我正在将Google Chromecast集成到我的视频播放器应用程序中。我已经提到这个链接:DeviceControllerApplicationConnection在谷歌Chromecast中失败

https://developers.google.com/cast/docs/ios_sender_integrate

它显示的Chromecast设备,但是,当我尝试连接该设备返回一个错误。这里是错误日志:

-[GCKEventLogger logDeviceController:sessionID:application:connectionFailedWithError:] LOG EVENT: DeviceControllerApplicationConnectionFailed device=<0x1311cc710:GCKDevice> [com.google.cast.CastDevice] 'Chrome Cast IBL' 192.168.1.185:8009 (e8fc847534f5fcb8e8c7190dc05458b6), sessionID=1272110429, appID=F1D64732, error=2 

任何想法会造成这种情况?提前致谢。

+0

googlecast演示应用程序的链接请参考,它https://github.com/googlecast/CastVideos-ios –

回答

4

这种类型的问题是因为互联网连接速度慢,因此需要更多时间才能与Chromecast连接,因为超时而无法连接。因此,您需要重新连接(停止投射并重新连接),然后轻松地与Chromecast连接。

+0

我已经满足了互联网的速度,但我得到同样的问题,用的Chromecast :( –