Browse Source

Passes all configs to the connection.

master
damencho 9 years ago
parent
commit
7e35794e47
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      connection.js

+ 1
- 5
connection.js View File

@@ -6,11 +6,7 @@ const ConnectionEvents = JitsiMeetJS.events.connection;
6 6
 const ConnectionErrors = JitsiMeetJS.errors.connection;
7 7
 
8 8
 function connect(id, password) {
9
-    let connection = new JitsiMeetJS.JitsiConnection(null, null, {
10
-        hosts: config.hosts,
11
-        bosh: config.bosh,
12
-        clientNode: config.clientNode
13
-    });
9
+    let connection = new JitsiMeetJS.JitsiConnection(null, null, config);
14 10
 
15 11
     return new Promise(function (resolve, reject) {
16 12
         connection.addEventListener(

Loading…
Cancel
Save