fix audio on reconnect
This commit is contained in:
parent
425517d576
commit
56dcd00e82
@ -1694,6 +1694,7 @@ function on_ws_closed()
|
|||||||
audio_node.disconnect();
|
audio_node.disconnect();
|
||||||
}
|
}
|
||||||
catch (dont_care) {}
|
catch (dont_care) {}
|
||||||
|
audio_initialized = 0;
|
||||||
divlog("WebSocket has closed unexpectedly. Attempting to reconnect in 5 seconds...", 1);
|
divlog("WebSocket has closed unexpectedly. Attempting to reconnect in 5 seconds...", 1);
|
||||||
|
|
||||||
setTimeout(open_websocket, 5000);
|
setTimeout(open_websocket, 5000);
|
||||||
|
Loading…
Reference in New Issue
Block a user