Browse Source
Merge pull request #478 from nextcloud/fix-slow-update-of-join-leave-call-button
Fix slow update of "Join/leave call" button
pull/483/head
Ivan Sein
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
js/webrtc.js
|
|
|
@ -661,10 +661,16 @@ var spreedPeerConnectionTable = []; |
|
|
|
}); |
|
|
|
|
|
|
|
OCA.SpreedMe.webrtc.on('joinedCall', function() { |
|
|
|
OCA.SpreedMe.app.syncRooms(); |
|
|
|
|
|
|
|
$('#app-content').removeClass('icon-loading'); |
|
|
|
$('.videoView').removeClass('hidden'); |
|
|
|
}); |
|
|
|
|
|
|
|
OCA.SpreedMe.webrtc.on('leftCall', function() { |
|
|
|
OCA.SpreedMe.app.syncRooms(); |
|
|
|
}); |
|
|
|
|
|
|
|
OCA.SpreedMe.webrtc.on('channelOpen', function(channel) { |
|
|
|
console.log('%s datachannel is open', channel.label); |
|
|
|
}); |
|
|
|
|