Thia code has the resources you need for the codelab Realtime communication with WebRTC.
This is a work in progress. If you find a mistake or have a suggestion, please file an issue. Thanks!
- Get video from your webcam
- Stream video with RTCPeerConnection
- Stream data with RTCDataChannel
- Set up a signaling service to exchange messages
- Combine peer connection and signaling
- Take a photo and share it via a data channel
- Chrome 47 or above.
- Web Server for Chrome, or use your own web server of choice.
- The sample code.
- A text editor.
- Basic knowledge of HTML, CSS and JavaScript.
- This app works well with https://bitbucket.org/sanad83/shlwebrtctest
- For deployment with SSL: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
- See Evernote notes tagged WebRTC