Sfoglia il codice sorgente

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

master
Boris Grozev 11 anni fa
parent
commit
d97a8c63f9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      libs/strophe/strophe.jingle.sdp.js

+ 1
- 1
libs/strophe/strophe.jingle.sdp.js Vedi File

@@ -637,7 +637,7 @@ SDP.prototype.jingle2media = function (content) {
637 637
         media += SDPUtil.build_rtpmap(this) + '\r\n';
638 638
         if ($(this).find('>parameter').length) {
639 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 641
             media += '\r\n';
642 642
         }
643 643
         // xep-0293

Loading…
Annulla
Salva