Files
webrtc/examples/sfu-ws/README.md
adwpc fb72f20f66 Add sfu example with websocket
sfu example with websocket, support video and audio. easy to use

Resolves #507
2019-03-11 10:56:01 -07:00

28 lines
646 B
Markdown

# sfu-ws
sfu-ws is a pion-WebRTC application that demonstrates how to broadcast a video to many peers, while only requiring the broadcaster to upload once.
This could serve as the building block to building conferencing software, and other applications where publishers are bandwidth constrained.
## Instructions
### Download sfu-ws
```
go get github.com/pions/webrtc/examples/sfu-ws
```
### Run SFU
#### Linux/macOS
go build
./sfu-ws
### Start a publisher
* Click `Publish`
### Start a Subscriber
* Click `Subscribe`
You can start one publisher and many subscriber
Congrats, you have used pion-WebRTC! Now start building something cool