diff --git a/openvidu-getaroom/web/app.js b/openvidu-getaroom/web/app.js index 1744b7d0..bcf1c265 100644 --- a/openvidu-getaroom/web/app.js +++ b/openvidu-getaroom/web/app.js @@ -43,7 +43,7 @@ function joinRoom(sessionId) { OV = new OpenVidu(); // We will join the video-call "sessionId". This parameter must start with the URL of OpenVidu Server, with secure WebSocket protocol ('wss://') - session = OV.initSession("wss://" + location.hostname + ":8443" + pathname + sessionId); + session = OV.initSession("wss://" + location.hostname + ":8443/" + sessionId); // --- 2) Specify the actions when events take place ---