add option for firefox webRTC test to allow fake streams

This commit is contained in:
Valere
2026-01-09 15:18:35 +01:00
parent 8535494671
commit 8827ff2ea6
2 changed files with 3 additions and 1 deletions

View File

@@ -67,6 +67,8 @@ export default defineConfig({
firefoxUserPrefs: {
"permissions.default.microphone": 1,
"permissions.default.camera": 1,
"media.navigator.streams.fake": true,
"media.navigator.permission.disabled": true,
},
},
},

View File

@@ -24,7 +24,7 @@ export function calculateInitialMuteState(
const { skipLobby, callIntent } = urlParams;
logger.debug(
`calculateInitialMuteState: skipLobby=${skipLobby}, callIntent=${callIntent}, hostname=${hostname}, isDevBuild=${trustLocalhost}`,
`calculateInitialMuteState: skipLobby=${skipLobby}, callIntent=${callIntent}, hostname=${hostname}, trustLocalhost=${trustLocalhost}`,
);
const isTrustedHost =