1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-26 17:43:29 +02:00

Update SimpleWebRTC to 1.18.0

This commit is contained in:
Daniel Berteaud 2015-06-16 19:14:38 +02:00
parent cc13881390
commit 5162d598b8
2 changed files with 4693 additions and 2460 deletions

File diff suppressed because it is too large Load Diff

View File

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