# webrtc-demo **Repository Path**: mirrors_miguelmota/webrtc-demo ## Basic Information - **Project Name**: webrtc-demo - **Description**: WebRTC video chat and data channels - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # WebRTC demo In this demo we connect to a peer using [RTCPeerConnection](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection) and share a media stream accessed via [getUserMedia](https://developer.mozilla.org/en-US/docs/NavigatorUserMedia.getUserMedia). We can also send arbriary data to the peer using the [RTCDataChannel](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel). We have a simple [Node.js](http://nodejs.org/) server set up with [socket.io](http://socket.io/) as the signaling mechanism between the peer connections to exchange [ICECandidate](https://developer.mozilla.org/en-US/docs/Web/Events/icecandidate) information in order to be able to do the inital connection. # Demo [https://lab.miguelmota.com/webrtc-demo](https://lab.miguelmota.com/webrtc-demo) # Usage ```bash node server/server.js ``` ```bash cd client/ python -m SimpleHTTPServer 9999 ``` Navigate to demo at `http://localhost:9999` # License MIT