Properly trigger failure state on streams when connection to source fails.
This commit is contained in:
parent
2f4a4660d0
commit
73ef41e97b
1 changed files with 5 additions and 0 deletions
|
@ -100,6 +100,11 @@ namespace Mist {
|
|||
}
|
||||
isInitialized = true;
|
||||
reconnect();
|
||||
//if the connection failed, fail
|
||||
if (streamName.size() < 1){
|
||||
onFail();
|
||||
return;
|
||||
}
|
||||
selectDefaultTracks();
|
||||
sought = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue