Skip to content

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

Fix recording for public access (#9584)

robertpinc657f360e1fb
diff --git a/connection.js b/connection.js
index b5ab62e9a4..f6544e68e3 100644
--- a/connection.js
+++ b/connection.js
@@ -88,8 +88,9 @@ export async function connect(id, password, roomName) {
const connectionConfig = Object.assign({}, config);
const state = APP.store.getState();
let { jwt } = state['features/base/jwt'];
+ const { iAmRecorder, iAmSipGateway } = state['features/base/config'];
- if (!jwt && isVpaasMeeting(state)) {
+ if (!iAmRecorder && !iAmSipGateway && !jwt && isVpaasMeeting(state)) {
jwt = await getJaasJWT(state);
APP.store.dispatch(setJWT(jwt));
}