|
@@ -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(
|