Browse Source

sdp: improve sdp matching for simulcast lines (#1452)

which should include the colon in order not to match something like
  a=simulcast-is-cool
tags/v0.0.2
Philipp Hancke 4 years ago
parent
commit
718b433920
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/xmpp/SDP.js

+ 1
- 1
modules/xmpp/SDP.js View File

@@ -266,7 +266,7 @@ SDP.prototype.toJingle = function(elem, thecreator) {
266 266
                     elem.up();
267 267
                 });
268 268
                 const unifiedSimulcast
269
-                    = SDPUtil.findLine(this.media[i], 'a=simulcast');
269
+                    = SDPUtil.findLine(this.media[i], 'a=simulcast:');
270 270
 
271 271
                 if (unifiedSimulcast) {
272 272
                     elem.c('rid-group', {

Loading…
Cancel
Save