In loadtest, make localAudio non-const. (#8829)
(Because we modify it.)
This commit is contained in:
parent
a22d054b10
commit
81cf79e643
|
@ -9,7 +9,6 @@ setConfigFromURLParams(config, {}, {}, window.location);
|
|||
const params = parseURLParams(window.location, false, 'hash');
|
||||
const { isHuman = false } = params;
|
||||
const {
|
||||
localAudio = config.startWithAudioMuted !== true,
|
||||
localVideo = config.startWithVideoMuted !== true,
|
||||
remoteVideo = isHuman,
|
||||
remoteAudio = isHuman,
|
||||
|
@ -19,6 +18,10 @@ const {
|
|||
autoCreateLocalAudio = config.testing.noAutoLocalAudio !== true
|
||||
} = params;
|
||||
|
||||
let {
|
||||
localAudio = config.startWithAudioMuted !== true,
|
||||
} = params;
|
||||
|
||||
const { room: roomName } = parseURIString(window.location.toString());
|
||||
|
||||
let connection = null;
|
||||
|
|
Loading…
Reference in New Issue