Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

change in focus protocol, use new proprietary variant

Philipp Hancke86b435570483
diff --git a/libs/strophe/strophe.jingle.sessionbase.js b/libs/strophe/strophe.jingle.sessionbase.js
index 4643bd0ee4..662deb306a 100644
--- a/libs/strophe/strophe.jingle.sessionbase.js
+++ b/libs/strophe/strophe.jingle.sessionbase.js
@@ -156,8 +156,7 @@ SessionBase.prototype.sendSSRCUpdateIq = function(sdpMediaSsrcs, sid, initiator,
var modify = $iq({to: toJid, type: 'set'})
.c('jingle', {
xmlns: 'urn:xmpp:jingle:1',
- //action: isAdd ? 'source-add' : 'source-remove', -- not yet
- action: isAdd ? 'addsource' : 'removesource',
+ action: isAdd ? 'source-add' : 'source-remove', -- not yet
initiator: initiator,
sid: sid
}
@@ -170,7 +169,7 @@ SessionBase.prototype.sendSSRCUpdateIq = function(sdpMediaSsrcs, sid, initiator,
var channel = sdpMediaSsrcs[channelNum];
modify.c('content', {name: channel.mediaType});
- // modify.c('description', {xmlns:'urn:xmpp:jingle:apps:rtp:1', media: channel.mediaType}); -- not yet
+ modify.c('description', {xmlns:'urn:xmpp:jingle:apps:rtp:1', media: channel.mediaType});
// FIXME: not completly sure this operates on blocks and / or handles different ssrcs correctly
// generate sources from lines
Object.keys(channel.ssrcs).forEach(function(ssrcNum) {
@@ -192,7 +191,7 @@ SessionBase.prototype.sendSSRCUpdateIq = function(sdpMediaSsrcs, sid, initiator,
});
modify.up(); // end of source
});
- // modify.up(); // end of description -- not yet
+ modify.up(); // end of description
modify.up(); // end of content
});
if (modified) {