Hi, we just started to integrate the Fling SDK (v1.1.3) in one of our iOS apps. The Fling SDK works pretty good until we unplug and later on restart the Fire TV. After unplugging the Fire TV the Fling SDK does not detect this state and the deviceLost callback is not fired. Even after suspending and resuming the iOS app the deviceDiscovered callback is fired for a device which is obviously offline, but for the Fling SDK it is still available. Now when we restart the Fire TV the Fing SDK discovers the Fire TV again and the deviceDiscovered callback is fired. The result is that the device list contains the same Fire TV twice. Moreover, establishing a connecting to the Fire TV is not possible, because the Fire TV uses a different tcp port after the restart, but the Fling SDK tries to connect to the old orphaned port. The only way to work around this is issues is to quit and restart the iOS app. This is really annoying because these steps are not known for most iOS users.
Log: […] 1446029267.279329:I:whisperplay:ttmgr:getTransport: ipv4://192.168.23.144:51888 sid: amzn.thin.pl, name: , acl: 0, security: 0 1446029267.280475:I:whisperplay:ttmgr:outgoing inet:unsecured connection:ios_1228 from device:ee877f5c935D6F9636E342AD9CC3A642 for service:amzn.thin.pl to device:3D84C4EC2454B3303A624719B03ED5BD 1446029267.281183:whisperplay:amzn.thin.pl:perf:public:end:WPCreateClient: Whisperplay creating client for service amzn.thin.pl on device:3D84C4EC2454B3303A624719B03ED5BD 1446029267.281221:I:whisperplay:tw:open[client transport = ] Thrift: Wed Oct 28 11:47:47 2015 TSocket::open() connect() Connection refused 2015-10-28 11:47:47.405 Cast Browser Fire TV[96140:453742] Exception calling service: connect() failed: Connection refused 2015-10-28 11:47:47.406 Cast Browser Fire TV[96140:453742] Failed to add status listener. Error:Error Domain=connect() failed: Connection refused Code=126 "(null)" […]