zello-channel-api icon indicating copy to clipboard operation
zello-channel-api copied to clipboard

Requested device not found

Open Allanksr opened this issue 4 years ago • 0 comments

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

Allanksr avatar Nov 08 '20 10:11 Allanksr