I am integrating Google Chromecast in my videoplayer app. I have referred this link:
https://developers.google.com/cast/docs/ios_sender_integrate
It displays Chromecast device but when I am trying to connect that device it returns an error. Here is the error log:
-[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
Any idea what would cause this? Thanks in advance.