Properly trigger failure state on streams when connection to source fails.

This commit is contained in:
Thulinma 2015-10-13 15:55:26 +02:00
parent 2f4a4660d0
commit 73ef41e97b

View file

@ -100,6 +100,11 @@ namespace Mist {
}
isInitialized = true;
reconnect();
//if the connection failed, fail
if (streamName.size() < 1){
onFail();
return;
}
selectDefaultTracks();
sought = false;
}