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 params = parseURLParams(window.location, false, 'hash');
|
||||||
const { isHuman = false } = params;
|
const { isHuman = false } = params;
|
||||||
const {
|
const {
|
||||||
localAudio = config.startWithAudioMuted !== true,
|
|
||||||
localVideo = config.startWithVideoMuted !== true,
|
localVideo = config.startWithVideoMuted !== true,
|
||||||
remoteVideo = isHuman,
|
remoteVideo = isHuman,
|
||||||
remoteAudio = isHuman,
|
remoteAudio = isHuman,
|
||||||
|
@ -19,6 +18,10 @@ const {
|
||||||
autoCreateLocalAudio = config.testing.noAutoLocalAudio !== true
|
autoCreateLocalAudio = config.testing.noAutoLocalAudio !== true
|
||||||
} = params;
|
} = params;
|
||||||
|
|
||||||
|
let {
|
||||||
|
localAudio = config.startWithAudioMuted !== true,
|
||||||
|
} = params;
|
||||||
|
|
||||||
const { room: roomName } = parseURIString(window.location.toString());
|
const { room: roomName } = parseURIString(window.location.toString());
|
||||||
|
|
||||||
let connection = null;
|
let connection = null;
|
||||||
|
|
Loading…
Reference in New Issue