FS-8336 [verto_communicator] Updating mic and video overlay controls upon receiving member update from live array
This commit is contained in:
parent
9fee9bc613
commit
f7df9ef3d8
|
@ -116,6 +116,11 @@
|
||||||
$scope.$apply(function() {
|
$scope.$apply(function() {
|
||||||
// console.log('Updating', memberIdx, ' <', $scope.members[memberIdx],
|
// console.log('Updating', memberIdx, ' <', $scope.members[memberIdx],
|
||||||
// '> with <', member, '>');
|
// '> 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);
|
angular.extend($scope.members[memberIdx], member);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -171,7 +176,7 @@
|
||||||
|
|
||||||
$scope.confBanner = function(memberID) {
|
$scope.confBanner = function(memberID) {
|
||||||
console.log('$scope.confBanner');
|
console.log('$scope.confBanner');
|
||||||
|
|
||||||
prompt({
|
prompt({
|
||||||
title: 'Please insert the banner text',
|
title: 'Please insert the banner text',
|
||||||
input: true,
|
input: true,
|
||||||
|
|
Loading…
Reference in New Issue