getaroom-demo fix openvidu-server URL

This commit is contained in:
pabloFuente 2017-07-26 15:05:16 +02:00
parent e476838fb6
commit 5da279d615

View File

@ -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 ---