Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Camera not opening in live server #69

Closed
wskwebsolution opened this issue Aug 17, 2020 · 1 comment
Closed

Video Camera not opening in live server #69

wskwebsolution opened this issue Aug 17, 2020 · 1 comment

Comments

@wskwebsolution
Copy link

wskwebsolution commented Aug 17, 2020

Hi sir,

Thank you for your code . i have configure it for testing in my AWS server . everything is running fine in my local server, but unable to open video cam on my live server .

Please help me
http://xxxxxxxxx:3000/join/OldGhost

console error :
Uncaught TypeError: navigator.mediaDevices is undefined
requestMediaStream http://xxxxxxxxxx:3000/js/chat.js:45
startUp http://xxxxxxxxxx:3000/js/chat.js:873
http://xxxxxxxxx:3000/js/chat.js:944

@wskwebsolution wskwebsolution changed the title video cam in not open in live server Video Camera not opening in live server Aug 17, 2020
@Chaphasilor
Copy link
Collaborator

Your site needs to be served over https, not http. Without https (called secure context), browsers won't allow access to certain browser APIs, one of them being navigator.mediaDevices :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants