mirror of
https://github.com/pion/webrtc.git
synced 2025-10-06 07:37:10 +08:00

This commit has breaking changes. This API change means we can no longer support an arbitrary number of receivers. For every track you want to receive you MUST call PeerConnection.AddTransceiver We do now support sending an multiple audio/video feeds. You can see this behavior via gstreamer-receive and gstreamer-send currently. Resolves #54
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