浏览代码

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

which should include the colon in order not to match something like
  a=simulcast-is-cool
dev1
Philipp Hancke 4 年前
父节点
当前提交
718b433920
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/xmpp/SDP.js

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

@@ -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', {

正在加载...
取消
保存