瀏覽代碼

fix(SDP): Add msid to generated RTX SSRC only when present on primary SSRC.

Fixes setLocalDescription failing in the case where simulcast is disabled since the answer produced by the browser (after a local source is added) does not have the msid line.
release-8443
Jaya Allamsetty 2 年之前
父節點
當前提交
648d0ddcde
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/sdp/RtxModifier.js

+ 1
- 1
modules/sdp/RtxModifier.js 查看文件

@@ -42,7 +42,7 @@ function updateAssociatedRtxStream(mLine, primarySsrcInfo, rtxSsrc) {
42 42
         attribute: 'cname',
43 43
         value: primarySsrcCname
44 44
     });
45
-    mLine.addSSRCAttribute({
45
+    primarySsrcMsid && mLine.addSSRCAttribute({
46 46
         id: rtxSsrc,
47 47
         attribute: 'msid',
48 48
         value: primarySsrcMsid

Loading…
取消
儲存