X-Git-Url: https://git.r.bdr.sh/rbdr/junction/blobdiff_plain/d4fb48eb3793a93a8726652692b68592333dd778..refs/heads/rbdr-content-script:/extension/content_script.js?ds=sidebyside diff --git a/extension/content_script.js b/extension/content_script.js index a9d713d..741e1c4 100644 --- a/extension/content_script.js +++ b/extension/content_script.js @@ -19,8 +19,9 @@ try { const mediaStream = await navigator.mediaDevices.getUserMedia({ audio: true }); - internals.socket = io(socketUrl); + internals.socket = io(internals.kSocketUrl); + console.log('Connecting to server'); internals.socket.on('connect', function() { console.log("Connected to signaling server"); @@ -47,6 +48,7 @@ console.log(`There are now ${internals.peers} participants`); }); + console.log('Done!'); internals.createAudioElement(data.tada); } catch (err) {