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.
This commit is contained in:
cregouby 2015-01-29 12:44:35 +01:00
parent 4bb555e4b2
commit 49f55973ff
1 changed files with 6 additions and 0 deletions

View File

@ -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;