Update RingRTC to v2.10.6

This commit is contained in:
Fedor Indutny 2021-06-29 07:39:53 -07:00 committed by GitHub
parent a3315bcb68
commit d11283f0f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 42 additions and 33 deletions

View file

@ -129,7 +129,9 @@ 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(
Buffer.from(frameBuffer)
);
if (!frameDimensions) {
return;
}