Allow joining without a microphone

This commit is contained in:
mplorentz
2026-03-06 16:37:05 -05:00
committed by hodlbod
parent 89d11dccd3
commit 84be1ae47b
+5 -1
View File
@@ -168,7 +168,11 @@ export const joinVoiceRoom = async (
throw e
}
await room.localParticipant.setMicrophoneEnabled(true)
try {
await room.localParticipant.setMicrophoneEnabled(true)
} catch (e) {
pushToast({theme: "error", message: "Could not access microphone"})
}
currentVoiceSession.set({url, h, room, muted: false})