Skip to content

Commit e4d6c64

Browse files
committed
Avoid libwebrtc crash in Chrome when using scaleResolutionDownBy
1 parent 477e1a4 commit e4d6c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/lib/RoomClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const WEBCAM_KSVC_ENCODINGS =
3535
// Used for simulcast screen sharing.
3636
const SCREEN_SHARING_SIMULCAST_ENCODINGS =
3737
[
38-
{ scaleResolutionDownBy: 1, dtx: true, maxBitrate: 1500000 },
39-
{ scaleResolutionDownBy: 1, dtx: true, maxBitrate: 6000000 }
38+
{ dtx: true, maxBitrate: 1500000 },
39+
{ dtx: true, maxBitrate: 6000000 }
4040
];
4141

4242
// Used for VP9 screen sharing.

0 commit comments

Comments
 (0)