瀏覽代碼

Supports tcptype in jingle to sdp conversion.

j8
Boris Grozev 11 年之前
父節點
當前提交
1148deef0d
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      libs/strophe/strophe.jingle.sdp.util.js

+ 6
- 0
libs/strophe/strophe.jingle.sdp.util.js 查看文件

@@ -391,6 +391,12 @@ SDPUtil = {
391 391
                 }
392 392
                 break;
393 393
         }
394
+        if (cand.getAttribute('protocol').toLowerCase() == 'tcp') {
395
+            line += 'tcptype';
396
+            line += ' ';
397
+            line += cand.getAttribute('tcptype');
398
+            line += ' ';
399
+        }
394 400
         line += 'generation';
395 401
         line += ' ';
396 402
         line += cand.getAttribute('generation') || '0';

Loading…
取消
儲存