- internals.socket.on('connect', function() {
-
- console.log("Connected to signaling server, group: ", data.currentUrl);
- internals.socket.emit('join', {
- 'url': data.currentUrl,
+ socket.on("connect", () => {
+ console.debug("Connected to signaling server, group: ", currentUrl);
+ playTada();
+ socket.emit("join", {
+ room: currentUrl,