OpenVidu URL fixed

This commit is contained in:
pabloFuente 2017-07-11 13:05:30 +02:00
parent df0552f423
commit b9048f55f6

View File

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