Comments (6)
Thanks @EderNavarro! Just looking into this now.
from webrtc-web.
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:
-
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.
-
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.
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.
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.
@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.
@nitobuendia OK — thanks.
from webrtc-web.
Related Issues (20)
- Typo on Codelabs Step 2 Bonus Points
- Typo in Exercise 4 of codelabs in the Bonus Points section
- Typo in Exercise 5 of googlecodelabs Bonus Points
- audio is not receiving iphone safari
- step-06- message.type==='offer'
- Broken Link on exercise 1
- Broken HOT 1
- Using legacy `offerToReceiveVideo` in step 2 HOT 1
- error HOT 2
- The requested URL alias for "/" is not defined.
- Step.8 add ICEServer fail in step-05 folder HOT 1
- socket.IO.listen is not a function HOT 3
- Exercise 4 doesn't work because we're serving over http instead of https
- wrong variable name / typo
- Scroll position is not at start page when I go to next page
- [DOC] To inspect the `localStream` object, type `localStream` instead of `stream`
- multi player with webrtc-web on mobile
- How to make STUN or TURN working in Example 5
- Fix typo in explanation of adapter.js shim
- [ERROR] Web Server for Chrome Extension Is Outdated : WebRTC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc-web.