Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Passes all configs to the connection.

damencho7e35794e47db
diff --git a/connection.js b/connection.js
index 4ca26ee87f..91ddb89a86 100644
--- a/connection.js
+++ b/connection.js
@@ -6,11 +6,7 @@ const ConnectionEvents = JitsiMeetJS.events.connection;
const ConnectionErrors = JitsiMeetJS.errors.connection;
function connect(id, password) {
- let connection = new JitsiMeetJS.JitsiConnection(null, null, {
- hosts: config.hosts,
- bosh: config.bosh,
- clientNode: config.clientNode
- });
+ let connection = new JitsiMeetJS.JitsiConnection(null, null, config);
return new Promise(function (resolve, reject) {
connection.addEventListener(