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

@@ -227,6 +227,7 @@ export type SetLocalVideoType = {
export type SetGroupCallVideoRequestType = {
conversationId: string;
resolutions: Array<GroupCallVideoRequest>;
speakerHeight: number;
};
export type StartCallingLobbyType = {
@@ -1146,7 +1147,8 @@ function setGroupCallVideoRequest(
// The `framerate` property in RingRTC has to be set, even if it's set to
// `undefined`.
framerate: undefined,
}))
})),
payload.speakerHeight
);
};
}