Skip to content

Conversation

@qqq89513
Copy link

@qqq89513 qqq89513 commented Nov 20, 2020

This pull request fixes the problem when accessing the page with IP address, instead of localhost.
In the console of Chrome, you would see:

script.js:10 Uncaught TypeError: Cannot read property 'getUserMedia' of undefined

Modified repo that has SSL connection

Thanks to @WebDevSimplified, creating this [tutorial video]. It saves me so much time to build a webRTC project.
Now I hope those one in the issue zone could ever get some help of SSL connection.

  • Enable ssl(https) connection based on this issue

    • Most of the browsers block camera access with http, which is insecure connection.
    • Generating a key and applying it to https server fix the problem.
  • Create a detailed README.md, including

    • mentioning original repo and video
    • package installation
    • key generation
    • execution

qqq89513 and others added 7 commits October 7, 2020 13:29
Since most of browsers block media(such as webcam) accessing from unsecure connections,
we have to deploy this application with https.
Descriptions and dummy installations,
including how to gernerate a key.
More discriptions of (## Run it).
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

Successfully merging this pull request may close these issues.

2 participants