Skip to content

Enable IP/Domain Name access. Create detailed README.md #32

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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