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");
console.log(`There are now ${internals.peers} participants`);
});
+ console.log('Done!');
internals.createAudioElement(data.tada);
}
catch (err) {