From 87398ac555e9c98aaa234bff5dd2c0531aed3b82 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 15 Apr 2023 08:08:21 +0300 Subject: [PATCH] Fix screen sharing on Firefox 113 (#3282) `getCapabilities` exists now(?), but `setCodecPreferences` doesn't, which means it would throw an error and fail the call. Signed-off-by: Tulir Asokan --- src/webrtc/call.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/webrtc/call.ts b/src/webrtc/call.ts index a1838cd490e..ed519497a7f 100644 --- a/src/webrtc/call.ts +++ b/src/webrtc/call.ts @@ -2315,7 +2315,7 @@ export class MatrixCall extends TypedEventEmitter => {