Update SimpleWebRTC to 1.18.0

master
Daniel Berteaud 10 years ago
parent cc13881390
commit 5162d598b8
  1. 15317
      public/js/simplewebrtc.bundle.js
  2. 4
      public/js/vroom.js

File diff suppressed because one or more lines are too long

@ -1502,7 +1502,7 @@ function initVroom(room) {
// Handle the readyToCall event: join the room
// Or prompt for a name first
webrtc.once('readyToCall', function () {
peers.local.id = webrtc.connection.socket.sessionid;
peers.local.id = webrtc.connection.connection.socket.sessionid;
getRoomInfo('join');
});
@ -1638,7 +1638,7 @@ function initVroom(room) {
});
// Detect connection lost
webrtc.connection.socket.on('disconnect', function(){
webrtc.connection.connection.socket.on('disconnect', function(){
setTimeout(function(){
$('#disconnected').modal('show');
}, 2000);

Loading…
Cancel
Save