Revert "use all in lib, restrict to relay in app"
This reverts commit b268c7fdc5
.
This commit is contained in:
parent
d5a2281a01
commit
68e0592363
1
app.js
1
app.js
|
@ -108,7 +108,6 @@ function connect(jid, password) {
|
||||||
// for chrome, add multistream cap
|
// for chrome, add multistream cap
|
||||||
}
|
}
|
||||||
connection.jingle.pc_constraints = RTC.pc_constraints;
|
connection.jingle.pc_constraints = RTC.pc_constraints;
|
||||||
connection.jingle.ice_config.iceTransports = 'relay';
|
|
||||||
if (config.useIPv6) {
|
if (config.useIPv6) {
|
||||||
// https://code.google.com/p/webrtc/issues/detail?id=2828
|
// https://code.google.com/p/webrtc/issues/detail?id=2828
|
||||||
if (!connection.jingle.pc_constraints.optional) connection.jingle.pc_constraints.optional = [];
|
if (!connection.jingle.pc_constraints.optional) connection.jingle.pc_constraints.optional = [];
|
||||||
|
|
|
@ -3,7 +3,7 @@ Strophe.addConnectionPlugin('jingle', {
|
||||||
connection: null,
|
connection: null,
|
||||||
sessions: {},
|
sessions: {},
|
||||||
jid2session: {},
|
jid2session: {},
|
||||||
ice_config: {iceServers: [], iceTransports: 'all'},
|
ice_config: {iceServers: [], iceTransports: 'relay'},
|
||||||
pc_constraints: {},
|
pc_constraints: {},
|
||||||
media_constraints: {
|
media_constraints: {
|
||||||
mandatory: {
|
mandatory: {
|
||||||
|
|
Loading…
Reference in New Issue