Allow joining without a microphone

This commit is contained in:
mplorentz
2026-03-06 16:37:05 -05:00
parent 5f1231fb7a
commit 286d401cff
+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})