瀏覽代碼

fix(codecs) Continue to munge SDP for p2p codec.

We need the initial invite/answer to have the codecs in the correct order so codec selection API for selecting codecs is not useful in this case.
release-8443
Jaya Allamsetty 1 年之前
父節點
當前提交
1993a03022
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/xmpp/JingleSessionPC.js

+ 1
- 1
modules/xmpp/JingleSessionPC.js 查看文件

@@ -401,7 +401,7 @@ export default class JingleSessionPC extends JingleSession {
401 401
         pcOptions.codecSettings = options.codecSettings;
402 402
         pcOptions.enableInsertableStreams = options.enableInsertableStreams;
403 403
         pcOptions.usesCodecSelectionAPI = this.usesCodecSelectionAPI
404
-            = browser.supportsCodecSelectionAPI() && options.testing?.enableCodecSelectionAPI;
404
+            = browser.supportsCodecSelectionAPI() && options.testing?.enableCodecSelectionAPI && !this.isP2P;
405 405
 
406 406
         if (options.videoQuality) {
407 407
             const settings = Object.entries(options.videoQuality)

Loading…
取消
儲存