mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
FS-8616 [verto_communicator] - A new menu for moderator, added Gain buttons and removed the 3-dot-button, moving its behavior to member-name div
This commit is contained in:
committed by
Anthony Minessale
parent
b91a1017e2
commit
3df5826098
@@ -49,6 +49,11 @@
|
||||
});
|
||||
});
|
||||
|
||||
$rootScope.$on('call.conference', function(event, data) {
|
||||
$timeout(function() {
|
||||
$scope.conf = verto.data.conf.params.laData;
|
||||
});
|
||||
});
|
||||
|
||||
$rootScope.$on('changedVideoLayout', function(event, layout) {
|
||||
$scope.resIDs = getResByLayout(layout);
|
||||
@@ -176,6 +181,12 @@
|
||||
/**
|
||||
* Public methods.
|
||||
*/
|
||||
|
||||
$scope.toggleModMenu = function(index) {
|
||||
if (verto.data.confRole != 'moderator') return;
|
||||
$scope.openId = $scope.openId == index ? null : index;
|
||||
};
|
||||
|
||||
$scope.send = function() {
|
||||
// Only conferencing chat is supported for now
|
||||
// but still calling method with the conference prefix
|
||||
@@ -285,6 +296,16 @@
|
||||
verto.data.conf.volumeUp(memberID);
|
||||
};
|
||||
|
||||
$scope.confGainDown = function(memberID) {
|
||||
console.log('$scope.confGainDown');
|
||||
verto.data.conf.gainDown(memberID);
|
||||
};
|
||||
|
||||
$scope.confGainUp = function(memberID) {
|
||||
console.log('$scope.confGainUp');
|
||||
verto.data.conf.gainUp(memberID);
|
||||
};
|
||||
|
||||
$scope.confTransfer = function(memberID) {
|
||||
console.log('$scope.confTransfer');
|
||||
prompt({
|
||||
|
Reference in New Issue
Block a user