瀏覽代碼

fix(SDP): extmap's are allowed at session level

dev1
Nils Ohlmeier 2 年之前
父節點
當前提交
440c542018
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      modules/sdp/SDP.js

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

@@ -319,7 +319,7 @@ SDP.prototype.toJingle = function(elem, thecreator) {
319 319
             this.rtcpFbToJingle(i, elem, '*');
320 320
 
321 321
             // XEP-0294
322
-            const extmapLines = SDPUtil.findLines(this.media[i], 'a=extmap:');
322
+            const extmapLines = SDPUtil.findLines(this.media[i], 'a=extmap:', this.session);
323 323
 
324 324
             for (let j = 0; j < extmapLines.length; j++) {
325 325
                 const extmap = SDPUtil.parseExtmap(extmapLines[j]);

Loading…
取消
儲存