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