зеркало из https://github.com/nextcloud/spreed.git
Merge pull request #478 from nextcloud/fix-slow-update-of-join-leave-call-button
Fix slow update of "Join/leave call" button
This commit is contained in:
Коммит
06b62d8c56
|
@ -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);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче