소스 검색

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
         this.caps.addFeature('urn:xmpp:jingle:apps:rtp:audio');
196
         this.caps.addFeature('urn:xmpp:jingle:apps:rtp:audio');
197
         this.caps.addFeature('urn:xmpp:jingle:apps:rtp:video');
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
             this.caps.addFeature('urn:ietf:rfc:4588');
202
             this.caps.addFeature('urn:ietf:rfc:4588');
202
         }
203
         }
203
         if (this.options.enableOpusRed === true && browser.supportsAudioRed()) {
204
         if (this.options.enableOpusRed === true && browser.supportsAudioRed()) {

Loading…
취소
저장