Browse Source

feat(participants-pane) removed getIsParticipantAudioMuted

master
Calin Chitu 3 years ago
parent
commit
0f8fa4f059
1 changed files with 0 additions and 16 deletions
  1. 0
    16
      react/features/video-menu/actions.any.js

+ 0
- 16
react/features/video-menu/actions.any.js View File

23
     getRemoteParticipants,
23
     getRemoteParticipants,
24
     muteRemoteParticipant
24
     muteRemoteParticipant
25
 } from '../base/participants';
25
 } from '../base/participants';
26
-import { getIsParticipantAudioMuted } from '../base/tracks';
27
 
26
 
28
 declare var APP: Object;
27
 declare var APP: Object;
29
 
28
 
108
     };
107
     };
109
 }
108
 }
110
 
109
 
111
-
112
-/**
113
- * Don't allow participants to unmute video/audio.
114
- *
115
- * @returns {Function}
116
- */
117
-export function blockParticipantsAudioVideo() {
118
-    return (dispatch: Dispatch<any>, getState: Function) => {
119
-        const state = getState();
120
-        const participants = state['features/base/participants'];
121
-
122
-        participants
123
-            .map(p => !getIsParticipantAudioMuted(p) && setAudioMuted(true));
124
-    };
125
-}

Loading…
Cancel
Save