mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 21:28:40 +00:00
Provide speakerHeight to ringrtc
This commit is contained in:
committed by
Fedor Indutnyy
parent
618a7725fe
commit
55a5c51236
@@ -48,7 +48,10 @@ type PropsType = {
|
||||
i18n: LocalizerType;
|
||||
isInSpeakerView: boolean;
|
||||
remoteParticipants: ReadonlyArray<GroupCallRemoteParticipantType>;
|
||||
setGroupCallVideoRequest: (_: Array<GroupCallVideoRequest>) => void;
|
||||
setGroupCallVideoRequest: (
|
||||
_: Array<GroupCallVideoRequest>,
|
||||
speakerHeight: number
|
||||
) => void;
|
||||
remoteAudioLevels: Map<number, number>;
|
||||
};
|
||||
|
||||
@@ -377,7 +380,7 @@ export const GroupCallRemoteParticipants: React.FC<PropsType> = ({
|
||||
break;
|
||||
}
|
||||
|
||||
setGroupCallVideoRequest(videoRequest);
|
||||
setGroupCallVideoRequest(videoRequest, gridParticipantHeight);
|
||||
}, [
|
||||
devicePixelRatio,
|
||||
gridParticipantHeight,
|
||||
|
||||
Reference in New Issue
Block a user