diff --git a/utils/stream/rtcstream.js b/utils/stream/rtcstream.js index bfe529ce..2f2b6171 100644 --- a/utils/stream/rtcstream.js +++ b/utils/stream/rtcstream.js @@ -51,6 +51,7 @@ async function startLocalStream(){ // Obtener el stream del usuario if(!canvas){ console.log('[NOVNC] Error: no CANVAS'); + users = false; return } stream = canvas.captureStream(); diff --git a/vnc.html b/vnc.html index 6af0d398..abcbaa7f 100644 --- a/vnc.html +++ b/vnc.html @@ -328,6 +328,8 @@