From 7dfad4fd3bdb4a5baef2e325194d62fef9da6ef9 Mon Sep 17 00:00:00 2001 From: Jaya Allamsetty Date: Fri, 4 Oct 2024 10:27:19 -0400 Subject: [PATCH] fix(TPC) Do not call setCodecPreferences on Firefox. Calling this API on Firefox is causing freezes when the local endpoint is the answerer. https://bugzilla.mozilla.org/show_bug.cgi?id=1917800 --- modules/browser/BrowserCapabilities.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/browser/BrowserCapabilities.js b/modules/browser/BrowserCapabilities.js index 8b0693a9c9..142428a305 100644 --- a/modules/browser/BrowserCapabilities.js +++ b/modules/browser/BrowserCapabilities.js @@ -146,7 +146,11 @@ export default class BrowserCapabilities extends BrowserDetection { // this is not working on Safari because of the following bug // https://bugs.webkit.org/show_bug.cgi?id=215567 - && !this.isWebKitBased(); + && !this.isWebKitBased() + + // Calling this API on Firefox is causing freezes when the local endpoint is the answerer. + // https://bugzilla.mozilla.org/show_bug.cgi?id=1917800 + && !this.isFirefox(); } /**