From 49f55973ff89ca58b50721d821a0556a46a1acfc Mon Sep 17 00:00:00 2001 From: cregouby Date: Thu, 29 Jan 2015 12:44:35 +0100 Subject: [PATCH] Add QoS marking configuration IP DSCP marking is available in Chrome (https://code.google.com/p/webrtc/source/detail?r=7669) It seems important to me to make it available to Jitsi-meet users. --- modules/xmpp/xmpp.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.js index 7dcb653d3..8e4b3eba1 100644 --- a/modules/xmpp/xmpp.js +++ b/modules/xmpp/xmpp.js @@ -41,6 +41,12 @@ function connect(jid, password, uiCredentials) { connection.jingle.pc_constraints.optional = []; connection.jingle.pc_constraints.optional.push({googIPv6: true}); } + if (config.useDSCP) { + // https://code.google.com/p/webrtc/source/detail?r=7669 + if (!connection.jingle.pc_constraints.optional) + connection.jingle.pc_constraints.optional = []; + connection.jingle.pc_constraints.optional.push({googDSCP: true}); + } if(!password) password = uiCredentials.password;