config change; experimental ipv6 support for chrome canary

This commit is contained in:
Philipp Hancke 2014-01-26 15:43:43 +01:00
parent 56eb1bda85
commit e0eca9b5f8
2 changed files with 7 additions and 0 deletions

5
app.js
View File

@ -29,6 +29,11 @@ function init() {
// for chrome, add multistream cap
}
connection.jingle.pc_constraints = RTC.pc_constraints;
if (config.useIPv6) {
// https://code.google.com/p/webrtc/issues/detail?id=2828
if (!connection.jingle.pc_constraints.optional) connection.jingle.pc_constraints.optional = [];
connection.jingle.pc_constraints.optional.push({googIPv6: true});
}
var jid = document.getElementById('jid').value || config.hosts.domain || window.location.hostname;

View File

@ -5,6 +5,8 @@ var config = {
bridge: 'jitsi-videobridge.lambada.jitsi.net' // FIXME: use XEP-0030
},
// getroomnode: function (path) { return 'someprefixpossiblybasedonpath'; },
// useStunTurn: true, // use XEP-0215 to fetch STUN and TURN server
// useIPv6: true, // ipv6 support. use at your own risk
useNicks: false,
bosh: '//lambada.jitsi.net/http-bind' // FIXME: use xep-0156 for that
};