zello-channel-api
zello-channel-api copied to clipboard
Requested device not found
I know why the error is caused, but how can I catch the error
Uncaught (in promise) DOMException: Requested device not found
it says that erro comes from
<script src="https://zello.io/sdks/js/latest/zcc.sdk.js"></script>
but how can I catch it?
this does not work
try{ outgoingMessage = session.startVoiceMessage() }catch(e){ console.log('startVoiceMessage Exception', e) }
the error is caused because there is no audio capture device on my computer, but I want to inform the user so that he can enable it, through the exception. thanks