demonstrates of how to handle incoming track with multiple simulcast rtp streams and show all them back.
go get github.com/pion/webrtc/v3/examples/simulcast
jsfiddle.net you should see two text-areas and a 'Start Session' button.
In the jsfiddle the top textarea is your browser, copy that and:
Run echo $BROWSER_SDP | simulcast
- Paste the SessionDescription into a file.
- Run
simulcast < my_file
Copy the text that simulcast
just emitted and copy into second text area
Your browser should send a simulcast track to Pion, and then all 3 incoming streams will be relayed back.
Congrats, you have used Pion WebRTC! Now start building something cool