Never pass negative speaker height to RingRTC
This commit is contained in:
parent
380833447f
commit
9bc4117259
1 changed files with 4 additions and 1 deletions
|
@ -380,7 +380,10 @@ export const GroupCallRemoteParticipants: React.FC<PropsType> = ({
|
|||
break;
|
||||
}
|
||||
|
||||
setGroupCallVideoRequest(videoRequest, gridParticipantHeight);
|
||||
setGroupCallVideoRequest(
|
||||
videoRequest,
|
||||
clamp(gridParticipantHeight, 0, MAX_FRAME_HEIGHT)
|
||||
);
|
||||
}, [
|
||||
devicePixelRatio,
|
||||
gridParticipantHeight,
|
||||
|
|
Loading…
Reference in a new issue