Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)