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

This commit is contained in:
Boris Grozev 2014-11-14 21:17:39 +02:00
parent ab8e9ed87e
commit d97a8c63f9
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ SDP.prototype.jingle2media = function (content) {
media += SDPUtil.build_rtpmap(this) + '\r\n';
if ($(this).find('>parameter').length) {
media += 'a=fmtp:' + this.getAttribute('id') + ' ';
media += $(this).find('parameter').map(function () { return (this.getAttribute('name') ? (this.getAttribute('name') + '=') : '') + this.getAttribute('value'); }).get().join(';');
media += $(this).find('parameter').map(function () { return (this.getAttribute('name') ? (this.getAttribute('name') + '=') : '') + this.getAttribute('value'); }).get().join('; ');
media += '\r\n';
}
// xep-0293