Fix recording for public access (#9584)
This commit is contained in:
parent
ae5edf5a62
commit
c657f360e1
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue