Browse Source

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 years ago
parent
commit
648d0ddcde
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/sdp/RtxModifier.js

+ 1
- 1
modules/sdp/RtxModifier.js View File

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

Loading…
Cancel
Save