Просмотр исходного кода

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

This reverts commit b268c7fdc5.
j8
Boris Grozev 10 лет назад
Родитель
Сommit
68e0592363
2 измененных файлов: 1 добавлений и 2 удалений
  1. 0
    1
      app.js
  2. 1
    1
      libs/strophe/strophe.jingle.js

+ 0
- 1
app.js Просмотреть файл

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

+ 1
- 1
libs/strophe/strophe.jingle.js Просмотреть файл

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

Загрузка…
Отмена
Сохранить