Skip to content

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

Adds support for sctp data channels + user interface for active speaker. Makes the toolbar more visible. Moves toolbar and videolayout related code in separate classes.

yanas715749ead8e0
diff --cc app.js
index 040934ef82,9e36992368..549ebea676
--- a/app.js
+++ b/app.js
@@@ -507,8 -533,12 +570,14 @@@ $(document).bind('callincoming.jingle'
// TODO: do we check activecall == null?
activecall = sess;
+ startRtpStatsCollector();
+
+ // Bind data channel listener in case we're a regular participant
+ if (config.openSctp)
+ {
+ bindDataChannelListener(sess.peerconnection);
+ }
+
// TODO: check affiliation and/or role
console.log('emuc data for', sess.peerjid, connection.emuc.members[sess.peerjid]);
sess.usedrip = true; // not-so-naive trickle ice
@@@ -519,7 -549,11 +588,13 @@@
$(document).bind('conferenceCreated.jingle', function (event, focus)
{
+ startRtpStatsCollector();
++
+ // Bind data channel listener in case we're the focus
+ if (config.openSctp)
+ {
+ bindDataChannelListener(focus.peerconnection);
+ }
});
$(document).bind('callactive.jingle', function (event, videoelem, sid) {
diff --cc config.js
index 97ffe74bfc,c34a2bfd5a..22d93589ab
--- a/config.js
+++ b/config.js
@@@ -12,5 -12,5 +12,6 @@@ var config =
desktopSharing: 'ext', // Desktop sharing method. Can be set to 'ext', 'webrtc' or false to disable.
chromeExtensionId: 'diibjkoicjeejcmhdnailmkgecihlobk', // Id of desktop streamer Chrome extension
minChromeExtVersion: '0.1', // Required version of Chrome extension
- enableRtpStats: false // Enables RTP stats processing
++ enableRtpStats: false, // Enables RTP stats processing
+ openSctp: true //Toggle to enable/disable SCTP channels
};