|
@@ -9,7 +9,6 @@ import { getFeatureFlag, INVITE_ENABLED } from '../base/flags';
|
9
|
9
|
import { MEDIA_TYPE, type MediaType } from '../base/media/constants';
|
10
|
10
|
import {
|
11
|
11
|
getDominantSpeakerParticipant,
|
12
|
|
- getParticipantCount,
|
13
|
12
|
isLocalParticipantModerator,
|
14
|
13
|
isParticipantModerator
|
15
|
14
|
} from '../base/participants/functions';
|
|
@@ -50,7 +49,7 @@ export const findStyledAncestor = (target: Object, component: any) => {
|
50
|
49
|
* @returns {MediaState}
|
51
|
50
|
*/
|
52
|
51
|
export function isForceMuted(participant: Object, mediaType: MediaType, state: Object) {
|
53
|
|
- if (getParticipantCount(state) > 2 && isEnabledFromState(mediaType, state)) {
|
|
52
|
+ if (isEnabledFromState(mediaType, state)) {
|
54
|
53
|
if (participant.local) {
|
55
|
54
|
return !isLocalParticipantApprovedFromState(mediaType, state);
|
56
|
55
|
}
|