瀏覽代碼

Fix converting a format with multiple parameters from Jingle to SDP.

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

+ 1
- 1
libs/strophe/strophe.jingle.sdp.js 查看文件

637
         media += SDPUtil.build_rtpmap(this) + '\r\n';
637
         media += SDPUtil.build_rtpmap(this) + '\r\n';
638
         if ($(this).find('>parameter').length) {
638
         if ($(this).find('>parameter').length) {
639
             media += 'a=fmtp:' + this.getAttribute('id') + ' ';
639
             media += 'a=fmtp:' + this.getAttribute('id') + ' ';
640
-            media += $(this).find('parameter').map(function () { return (this.getAttribute('name') ? (this.getAttribute('name') + '=') : '') + this.getAttribute('value'); }).get().join(';');
640
+            media += $(this).find('parameter').map(function () { return (this.getAttribute('name') ? (this.getAttribute('name') + '=') : '') + this.getAttribute('value'); }).get().join('; ');
641
             media += '\r\n';
641
             media += '\r\n';
642
         }
642
         }
643
         // xep-0293
643
         // xep-0293

Loading…
取消
儲存