diff --git a/src/app/voice.ts b/src/app/voice.ts index 4ac68189..1b1aef89 100644 --- a/src/app/voice.ts +++ b/src/app/voice.ts @@ -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})