GithubHelp home page GithubHelp logo

Comments (6)

samdutton avatar samdutton commented on May 10, 2024

Thanks @EderNavarro! Just looking into this now.

from webrtc-web.

nitobuendia avatar nitobuendia commented on May 10, 2024

I am currently checking this. The solution proposed by @EderNavarro seems to work :) Thanks a lot!

I have been able to deploy localhost with https and connect my phone through it (whereas with http version it rejects the API calls).

I think the best proposal here would be:

  1. Adding a section to step-05 (step 7 of Codelab) explaining why https connections may be required (multiple devices, running on a server). This section will also describe what changes are required to change from http to https.

  2. Adding the relevant lines of code to the codelab, but commented out and with clear explanations of what to comment / uncomment if you want to run over https.

My only concern at the moment is how to generate a valid certificate for localhost. Testing a bit with openssl and a few other ideas. For servers, I would suggest a link to Let's Encrypt can be it.

from webrtc-web.

nitobuendia avatar nitobuendia commented on May 10, 2024

Same as #32:
A quick update here: we are working on fixing this by serving the codelab on https so it can be tested across devices deployed in localhost, but also is more or less prepared to go to a server with minimal changes. There are a few things that need to be fixed first, hence it might take a bit, but on the pipeline. Thank you for reporting and the patience here.

from webrtc-web.

samdutton avatar samdutton commented on May 10, 2024

Can't remember if I suggested this elsewhere — would Surma's HTTP/2 server (which provides HTTPS, though with certificate warning)?

https://github.com/GoogleChromeLabs/simplehttp2server

from webrtc-web.

nitobuendia avatar nitobuendia commented on May 10, 2024

@samdutton We discussed this, yes. I do not think there is need for that. node.js is enough and provides a solution with the same warning. The solution is coded and the text is prepared. The main issue we faced is the servers that were used only for the codelab; for which we still do not have a solution.

from webrtc-web.

samdutton avatar samdutton commented on May 10, 2024

@nitobuendia OK — thanks.

from webrtc-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.