Adds namespace to fingerprint element.

This commit is contained in:
paweldomas 2014-08-19 14:02:46 +02:00
parent 05e0454a56
commit fe311cce58
1 changed files with 4 additions and 1 deletions

View File

@ -287,7 +287,10 @@ JingleSession.prototype.sendIceCandidates = function (candidates) {
if (SDPUtil.find_line(this.localSDP.media[mid], 'a=fingerprint:', this.localSDP.session)) {
var tmp = SDPUtil.parse_fingerprint(SDPUtil.find_line(this.localSDP.media[mid], 'a=fingerprint:', this.localSDP.session));
tmp.required = true;
cand.c('fingerprint').t(tmp.fingerprint);
cand.c(
'fingerprint',
{xmlns: 'urn:xmpp:jingle:apps:dtls:0'})
.t(tmp.fingerprint);
delete tmp.fingerprint;
cand.attrs(tmp);
cand.up();