- Git clone this
git clone git@github.com:mike0113/webRTC.git - Change directory to
cd webRTC/step-05 - Setup your Web Server (setting file like "000-default-le-ssl.bak")
- Run the program in "step-05",
npm install; node index.js - Then open your browser, type the URL you set
- You can communicate on it with another person.
This 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, Node.JS.
Run npm install before running the code.