From d7ed97ef3a9219ab1a08fe15a8c3c010eb94d6df Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Wed, 2 Apr 2014 15:48:28 +0200 Subject: [PATCH] Updates the DTLS fingerpring XML namespace. --- index.html | 2 +- libs/strophe/strophe.jingle.sdp.js | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 36f0fd814..52d772e99 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - + diff --git a/libs/strophe/strophe.jingle.sdp.js b/libs/strophe/strophe.jingle.sdp.js index 245c9de26..f7e3c9d56 100644 --- a/libs/strophe/strophe.jingle.sdp.js +++ b/libs/strophe/strophe.jingle.sdp.js @@ -308,8 +308,7 @@ SDP.prototype.TransportToJingle = function (mediaindex, elem) { var fingerprints = SDPUtil.find_lines(this.media[mediaindex], 'a=fingerprint:', this.session); fingerprints.forEach(function(line) { tmp = SDPUtil.parse_fingerprint(line); - tmp.xmlns = 'urn:xmpp:tmp:jingle:apps:dtls:0'; - // tmp.xmlns = 'urn:xmpp:jingle:apps:dtls:0'; -- FIXME: update receivers first + tmp.xmlns = 'urn:xmpp:jingle:apps:dtls:0'; elem.c('fingerprint').t(tmp.fingerprint); delete tmp.fingerprint; line = SDPUtil.find_line(self.media[mediaindex], 'a=setup:', self.session); @@ -553,4 +552,4 @@ SDP.prototype.jingle2media = function (content) { } } return media; -}; \ No newline at end of file +};