FS-8336 [verto_communicator] Updating mic and video overlay controls upon receiving member update from live array

This commit is contained in:
Italo Rossi 2015-10-21 15:39:45 -03:00
parent 9fee9bc613
commit f7df9ef3d8
1 changed files with 6 additions and 1 deletions

View File

@ -116,6 +116,11 @@
$scope.$apply(function() {
// console.log('Updating', memberIdx, ' <', $scope.members[memberIdx],
// '> with <', member, '>');
// Checking if it's me
if (member.name == verto.data.name && member.email == verto.data.email) {
verto.data.mutedMic = member.status.audio.muted;
verto.data.mutedVideo = member.status.video.muted;
}
angular.extend($scope.members[memberIdx], member);
});
}
@ -171,7 +176,7 @@
$scope.confBanner = function(memberID) {
console.log('$scope.confBanner');
prompt({
title: 'Please insert the banner text',
input: true,