use config to unmute full package on localhost

This commit is contained in:
Valere
2026-01-09 15:00:57 +01:00
parent ad66d10c69
commit 8535494671
5 changed files with 9 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ export function calculateInitialMuteState(
urlParams: Pick<UrlParams, "skipLobby" | "callIntent">,
packageType: "full" | "embedded",
hostname: string | undefined = undefined,
trustLocalhost: boolean = import.meta.env.DEV,
trustLocalhost: boolean = false,
): { audioEnabled: boolean; videoEnabled: boolean } {
const { skipLobby, callIntent } = urlParams;