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:
parent
cc13881390
commit
5162d598b8
File diff suppressed because it is too large
Load Diff
|
@ -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…
Reference in New Issue
Block a user