Browse Source

Fix recording for public access (#9584)

master
robertpin 4 years ago
parent
commit
c657f360e1
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      connection.js

+ 2
- 1
connection.js View File

88
     const connectionConfig = Object.assign({}, config);
88
     const connectionConfig = Object.assign({}, config);
89
     const state = APP.store.getState();
89
     const state = APP.store.getState();
90
     let { jwt } = state['features/base/jwt'];
90
     let { jwt } = state['features/base/jwt'];
91
+    const { iAmRecorder, iAmSipGateway } = state['features/base/config'];
91
 
92
 
92
-    if (!jwt && isVpaasMeeting(state)) {
93
+    if (!iAmRecorder && !iAmSipGateway && !jwt && isVpaasMeeting(state)) {
93
         jwt = await getJaasJWT(state);
94
         jwt = await getJaasJWT(state);
94
         APP.store.dispatch(setJWT(jwt));
95
         APP.store.dispatch(setJWT(jwt));
95
     }
96
     }

Loading…
Cancel
Save