mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 00:26:56 +00:00
Clean the loading bar if the stream fails
This commit is contained in:
parent
8f0b911031
commit
09ea7d4b84
@ -21,6 +21,7 @@ function handleMessage(msg) {
|
||||
} else { // else, it's just info, or an event
|
||||
console.log(msg.data);
|
||||
if(msg.data === 'streamTerminated') { // if it's a recognized event, notify the appropriate function
|
||||
$('#loadingSpinner').css('display', 'none'); // This is a fallback for RTSP handshake failing, which immediately terminates the stream.
|
||||
api.refreshServerInfo().then(function (ret) {
|
||||
showAppsMode();
|
||||
chrome.app.window.current().restore();
|
||||
|
Loading…
x
Reference in New Issue
Block a user