X-Git-Url: https://git.r.bdr.sh/rbdr/junction/blobdiff_plain/eaca9f28abdf3e3ac9571498fb6c39ca2986ee77..93fe1aee43a79a23d4c418c230fde0e451259279:/extension/content_script.js 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) {