Browse Source

Revert "use all in lib, restrict to relay in app"

This reverts commit b268c7fdc5.
j8
Boris Grozev 10 years ago
parent
commit
68e0592363
2 changed files with 1 additions and 2 deletions
  1. 0
    1
      app.js
  2. 1
    1
      libs/strophe/strophe.jingle.js

+ 0
- 1
app.js View File

108
         // for chrome, add multistream cap
108
         // for chrome, add multistream cap
109
     }
109
     }
110
     connection.jingle.pc_constraints = RTC.pc_constraints;
110
     connection.jingle.pc_constraints = RTC.pc_constraints;
111
-    connection.jingle.ice_config.iceTransports = 'relay';
112
     if (config.useIPv6) {
111
     if (config.useIPv6) {
113
         // https://code.google.com/p/webrtc/issues/detail?id=2828
112
         // https://code.google.com/p/webrtc/issues/detail?id=2828
114
         if (!connection.jingle.pc_constraints.optional) connection.jingle.pc_constraints.optional = [];
113
         if (!connection.jingle.pc_constraints.optional) connection.jingle.pc_constraints.optional = [];

+ 1
- 1
libs/strophe/strophe.jingle.js View File

3
     connection: null,
3
     connection: null,
4
     sessions: {},
4
     sessions: {},
5
     jid2session: {},
5
     jid2session: {},
6
-    ice_config: {iceServers: [], iceTransports: 'all'},
6
+    ice_config: {iceServers: [], iceTransports: 'relay'},
7
     pc_constraints: {},
7
     pc_constraints: {},
8
     media_constraints: {
8
     media_constraints: {
9
         mandatory: {
9
         mandatory: {

Loading…
Cancel
Save