mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Update to RingRTC v2.25.0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user