Closed oleksii-frolov closed 9 years ago
@frolov-alexey can you please test that without having merged the zeroconf provider, if this issue is resolved ?
I've got this when phone in background mode during playing
12-18 12:38:37.280: D/Connect SDK(18912): onServiceRemoved: friendlyName: Apple TV 12-18 12:38:37.290: D/2ndScreenAPP(18912): Device Disconnected
and after that the socket is closed and video is stopped. So the issue is not resolved.
@viveksekar I think that's another issue, not related to this. This issue was that apple tv close the remote socket connection, but the fix for ZeroConfDiscoveryProvider is somehow we cannot detect apple tv for 30 seconds.
We've set 30 seconds as Timeout, so we use the value for SSDPDiscoveryProvider, ZeroconfDiscoveryProvider, and also in iOS SSDPDiscoveryProvider.
If we want to change the value, then I think it would be better to change all of them.
fix for issue https://github.com/ConnectSDK/Connect-SDK-Cordova-Plugin/issues/5