diff --git a/openvidu-getaroom/web/app.js b/openvidu-getaroom/web/app.js index 277048da..8e47cade 100644 --- a/openvidu-getaroom/web/app.js +++ b/openvidu-getaroom/web/app.js @@ -41,7 +41,7 @@ function joinRoom(sessionId) { OV = new OpenVidu(); // We will join the room "sessionId" - session = OV.initSession("wss://225428f6.ngrok.io/" + sessionId); + session = OV.initSession("wss://" + location.hostname + ":8443/" + sessionId); // --- 2) Specify the actions when events take place ---