Fix converting a format with multiple parameters from Jingle to SDP.
This commit is contained in:
parent
ab8e9ed87e
commit
d97a8c63f9
|
@ -637,7 +637,7 @@ SDP.prototype.jingle2media = function (content) {
|
||||||
media += SDPUtil.build_rtpmap(this) + '\r\n';
|
media += SDPUtil.build_rtpmap(this) + '\r\n';
|
||||||
if ($(this).find('>parameter').length) {
|
if ($(this).find('>parameter').length) {
|
||||||
media += 'a=fmtp:' + this.getAttribute('id') + ' ';
|
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';
|
media += '\r\n';
|
||||||
}
|
}
|
||||||
// xep-0293
|
// xep-0293
|
||||||
|
|
Loading…
Reference in New Issue