Receive side of remote mute
This commit is contained in:
parent
0d89e7b01a
commit
a444790bf9
13 changed files with 540 additions and 16 deletions
|
@ -15,6 +15,7 @@ import type {
|
|||
SetLocalAudioType,
|
||||
SetLocalVideoType,
|
||||
SetRendererCanvasType,
|
||||
SetMutedByType,
|
||||
} from '../state/ducks/calling';
|
||||
import { Avatar, AvatarSize } from './Avatar';
|
||||
import { CallingHeader, getCallViewIconClassname } from './CallingHeader';
|
||||
|
@ -135,6 +136,7 @@ export type PropsType = {
|
|||
toggleSelfViewExpanded: () => void;
|
||||
toggleSettings: () => void;
|
||||
changeCallView: (mode: CallViewMode) => void;
|
||||
setLocalAudioRemoteMuted: SetMutedByType;
|
||||
} & Pick<ReactionPickerProps, 'renderEmojiPicker'>;
|
||||
|
||||
export const isInSpeakerView = (
|
||||
|
@ -224,6 +226,7 @@ export function CallScreen({
|
|||
toggleScreenRecordingPermissionsDialog,
|
||||
toggleSelfViewExpanded,
|
||||
toggleSettings,
|
||||
setLocalAudioRemoteMuted,
|
||||
}: PropsType): JSX.Element {
|
||||
const {
|
||||
conversation,
|
||||
|
@ -980,7 +983,17 @@ export function CallScreen({
|
|||
: false
|
||||
}
|
||||
isHandRaised={localHandRaised}
|
||||
mutedBy={
|
||||
isGroupOrAdhocActiveCall(activeCall) ? activeCall.mutedBy : undefined
|
||||
}
|
||||
observedRemoteMute={
|
||||
isGroupOrAdhocActiveCall(activeCall)
|
||||
? activeCall.observedRemoteMute
|
||||
: undefined
|
||||
}
|
||||
conversationsByDemuxId={conversationsByDemuxId}
|
||||
i18n={i18n}
|
||||
setLocalAudioRemoteMuted={setLocalAudioRemoteMuted}
|
||||
/>
|
||||
{isCallLinkAdmin ? (
|
||||
<CallingPendingParticipants
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue