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
parent
commit
06b62d8c56
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      js/webrtc.js

6
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);
});

Loading…
Cancel
Save