2016-09-21 34 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 :( –