Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/truongd3/webrtc-streaming-video
Streaming Video using Connection WebRTC by Truong Dang
https://github.com/truongd3/webrtc-streaming-video
javascript peer-to-peer webrtc webrtc-video
Last synced: 16 days ago
JSON representation
Streaming Video using Connection WebRTC by Truong Dang
- Host: GitHub
- URL: https://github.com/truongd3/webrtc-streaming-video
- Owner: truongd3
- License: bsd-3-clause
- Created: 2023-12-01T16:54:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T23:41:23.000Z (about 1 year ago)
- Last Synced: 2024-11-21T08:18:34.510Z (3 months ago)
- Topics: javascript, peer-to-peer, webrtc, webrtc-video
- Language: JavaScript
- Homepage:
- Size: 14.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Authors: AUTHORS
Awesome Lists containing this project
README
# Streaming Video using WebRTC by Truong Dang
This is a repository for the WebRTC JavaScript code samples. All of the samples can be tested from [webrtc.github.io/samples](https://webrtc.github.io/samples).
To run the samples locally
`
npm install && npm start
`
and open your browser on the page indicated.## Peer-2-Peer Connection
### 1 peer joined
![res1](src/images/result1.png)
### 2 peers joined
Notice the lagging of the video. Because 2 peers are accessed via 2 browsers of the same device, the connection is good which lightens the lagging. Try to move fast and record your screen, you will see the lateness between 2 streams.
![res2](src/images/result2.png)