From b9048f55f6e61640266bb3c40f801366ed2367ba Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Tue, 11 Jul 2017 13:05:30 +0200 Subject: [PATCH] OpenVidu URL fixed --- openvidu-getaroom/web/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ---