Update to RingRTC v2.25.0
This commit is contained in:
parent
164f64fec0
commit
ea642d99cd
4 changed files with 15 additions and 7 deletions
|
@ -32,7 +32,11 @@ class FakeGroupCallVideoFrameSource implements VideoFrameSource {
|
|||
this.dimensions = [width, height];
|
||||
}
|
||||
|
||||
receiveVideoFrame(destinationBuffer: Buffer): [number, number] | undefined {
|
||||
receiveVideoFrame(
|
||||
destinationBuffer: Buffer,
|
||||
_maxWidth: number,
|
||||
_maxHeight: number
|
||||
): [number, number] | undefined {
|
||||
// Simulate network jitter. Also improves performance when testing.
|
||||
if (Math.random() < 0.5) {
|
||||
return undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue