Code to reproduce the issue:
// TODO
Expected behavior:
TODO
Actual behavior:
TODO
Software versions:
Hi @Pkaran26 ,
Thanks for writing in with your issue. I see that you have not checked the first 2 items in the checklist for opening the issue. From your heading it looks like you're getting an error on Chrome saying the getUserMedia is not supported. I'm surprised you're getting this error since WebRTC has been supported by Chrome since a long time. Please let me know once you've filled out the other details (code samples, browser version, etc.) and I will take a look.
Thanks,
Manjesh
@Pkaran26 ,
You can also get this error if you're running Chrome your app in http. If so, you should run your app as https. Only localhost urls with http are supported by Chrome.
Thanks,
Manjesh
@manjeshbhargav
Thank you
Can i use on without domain online using with IP ??
is this possible ??
Hi,
i am developing a mobile app using iOS - Swift . There is a facility called WKWebView which will load the browser inside the app. I am trying to load the Twilio video chat js in this WkWebView. I am able to get the first page but when i am initiating the video , it is giving an error as mentioned above "Could not connect to Twilio:getUserMedia is not supported".
@magbhu it is working on only https
or localhost
@magbhu You cannot call getUserMedia() on a page served via HTTP (except when browsing localhost), the page needs to be served via HTTPS otherwise Chrome blocks this API.
You can install a self signed certificate to overcome this in dev or test environments.
@magbhu try tunnelling it through ngrok.com. That should be good enough for your development workflow.
Hi,
I am trying to implement this using React APP and token is generated from NodeJS REST API
My NodeJS API is url is ssl certified but my React APP url is not ssl certified. And I am getting this error.
Do we need to have both the urls ssl certified?
Most helpful comment
@Pkaran26 ,
You can also get this error if you're running Chrome your app in
http. If so, you should run your app ashttps. Onlylocalhosturls withhttpare supported by Chrome.Thanks,
Manjesh