Allow joining without a microphone
This commit is contained in:
+5
-1
@@ -168,7 +168,11 @@ export const joinVoiceRoom = async (
|
|||||||
throw e
|
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})
|
currentVoiceSession.set({url, h, room, muted: false})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user