Update to RingRTC v2.25.0

This commit is contained in:
Jim Gustafson
2023-02-17 19:25:24 -08:00
committed by GitHub
parent 164f64fec0
commit ea642d99cd
4 changed files with 15 additions and 7 deletions

View File

@@ -140,7 +140,11 @@ export const GroupCallRemoteParticipant: React.FC<PropsType> = React.memo(
// for other participants, or pixel data from a previous frame. That's why we
// return early and use the `frameWidth` and `frameHeight`.
const frameBuffer = getFrameBuffer();
const frameDimensions = videoFrameSource.receiveVideoFrame(frameBuffer);
const frameDimensions = videoFrameSource.receiveVideoFrame(
frameBuffer,
MAX_FRAME_WIDTH,
MAX_FRAME_HEIGHT
);
if (!frameDimensions) {
return;
}