From f7df9ef3d88e5dc5c572f23059c934393578227d Mon Sep 17 00:00:00 2001 From: Italo Rossi Date: Wed, 21 Oct 2015 15:39:45 -0300 Subject: [PATCH] FS-8336 [verto_communicator] Updating mic and video overlay controls upon receiving member update from live array --- .../src/vertoControllers/controllers/ChatController.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js index ca20d6db6f..472a4a5771 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js @@ -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,