Bladeren bron

feat(participants-pane) removed getIsParticipantAudioMuted

master
Calin Chitu 3 jaren geleden
bovenliggende
commit
0f8fa4f059
1 gewijzigde bestanden met toevoegingen van 0 en 16 verwijderingen
  1. 0
    16
      react/features/video-menu/actions.any.js

+ 0
- 16
react/features/video-menu/actions.any.js Bestand weergeven

@@ -23,7 +23,6 @@ import {
23 23
     getRemoteParticipants,
24 24
     muteRemoteParticipant
25 25
 } from '../base/participants';
26
-import { getIsParticipantAudioMuted } from '../base/tracks';
27 26
 
28 27
 declare var APP: Object;
29 28
 
@@ -108,18 +107,3 @@ export function muteAllParticipants(exclude: Array<string>, mediaType: MEDIA_TYP
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
-}

Laden…
Annuleren
Opslaan