瀏覽代碼

fix(RTX): Re-enable RTX on Firefox.

dev1
Jaya Allamsetty 4 年之前
父節點
當前提交
5891fa5b79
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. 3
    2
      modules/xmpp/xmpp.js

+ 3
- 2
modules/xmpp/xmpp.js 查看文件

@@ -196,8 +196,9 @@ export default class XMPP extends Listenable {
196 196
         this.caps.addFeature('urn:xmpp:jingle:apps:rtp:audio');
197 197
         this.caps.addFeature('urn:xmpp:jingle:apps:rtp:video');
198 198
 
199
-        // Disable RTX on Firefox because of https://bugzilla.mozilla.org/show_bug.cgi?id=1668028.
200
-        if (!(this.options.disableRtx || browser.isFirefox())) {
199
+        // Disable RTX on Firefox 83 and older versions because of
200
+        // https://bugzilla.mozilla.org/show_bug.cgi?id=1668028
201
+        if (!(this.options.disableRtx || (browser.isFirefox() && browser.isVersionLessThan(84)))) {
201 202
             this.caps.addFeature('urn:ietf:rfc:4588');
202 203
         }
203 204
         if (this.options.enableOpusRed === true && browser.supportsAudioRed()) {

Loading…
取消
儲存