Provide speakerHeight to ringrtc

This commit is contained in:
Fedor Indutny 2022-09-07 08:52:55 -07:00 committed by Fedor Indutnyy
parent 618a7725fe
commit 55a5c51236
7 changed files with 29 additions and 11 deletions

View file

@ -178,10 +178,11 @@ const ActiveCallManager: React.FC<ActiveCallManagerPropsType> = ({
);
const setGroupCallVideoRequestForConversation = useCallback(
(resolutions: Array<GroupCallVideoRequest>) => {
(resolutions: Array<GroupCallVideoRequest>, speakerHeight: number) => {
setGroupCallVideoRequest({
conversationId: conversation.id,
resolutions,
speakerHeight,
});
},
[setGroupCallVideoRequest, conversation.id]