versatica / tryit-jssip

New tryit-jssip application

Home Page:https://tryit.jssip.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: User Media Defined Access

akhilreddyjirra opened this issue · comments

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

Have you cleared the cache and reloaded the browser tab?

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

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.

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

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.