versatica / tryit-jssip

New tryit-jssip application
https://tryit.jssip.net
Other
88 stars 102 forks source link

Error: User Media Defined Access #13

Closed akhilreddyjirra closed 6 years ago

akhilreddyjirra commented 6 years ago

Hello! I'm having some problems when i try to start a call from Browser to Browser

I got error : User Media Defined Access The Browser console logs : debug.js:122 JsSIP:ERROR:RTCSession emit "getusermediafailed" [error: {name: "NotFoundError", message: "Requested device not found", constraint: undefined, toString: ƒ} constraint:undefined message:"Requested device not found" name:"NotFoundError"

Note: I have provided microphone phone setting to always allow

image

image

jmillan commented 6 years ago

Have you cleared the cache and reloaded the browser tab?

tm1000 commented 6 years ago

This happens for me as well and yes I cleared the cache

ibc commented 6 years ago

Did you reject mic/webcam getUserMedia prompt? If so, go to the browser settings and allow them for the demo domain.

If not, do you have a mic and webcam in your computer? If not, getUserMedia may fail and the demo app is not ready for those cases. But it's just a demo app, so fix it within your own JsSIP based web app.

alex-eri commented 2 years ago

in my case camera and mic was not requested. Chrome/87

InterLinked1 commented 2 years ago

If you override the call to CyberMegaPhone constructor with false and/or false for audio/video, does it work? CMP2K forces audio and video by default so it may work if you force disable video, for instance.