github.com/pion/webrtc/v4@v4.0.1/examples/simulcast/README.md (about) 1 # simulcast 2 demonstrates of how to handle incoming track with multiple simulcast rtp streams and show all them back. 3 4 The browser will not send higher quality streams unless it has the available bandwidth. You can look at 5 the bandwidth estimation in `chrome://webrtc-internals`. It is under `VideoBwe` when `Read Stats From: Legacy non-Standard` 6 is selected. 7 8 ## Instructions 9 ### Download simulcast 10 ``` 11 go install github.com/pion/webrtc/v4/examples/simulcast@latest 12 ``` 13 14 ### Open simulcast example page 15 [jsfiddle.net](https://jsfiddle.net/tz4d5bhj/) you should see two text-areas and two buttons: `Copy browser SDP to clipboard`, `Start Session`. 16 17 ### Run simulcast, with your browsers SessionDescription as stdin 18 In the jsfiddle the top textarea is your browser's Session Description. Press `Copy browser SDP to clipboard` or copy the base64 string manually. 19 We will use this value in the next step. 20 21 #### Linux/macOS 22 Run `echo $BROWSER_SDP | simulcast` 23 #### Windows 24 1. Paste the SessionDescription into a file. 25 1. Run `simulcast < my_file` 26 27 ### Input simulcast's SessionDescription into your browser 28 Copy the text that `simulcast` just emitted and copy into second text area 29 30 ### Hit 'Start Session' in jsfiddle, enjoy your video! 31 Your browser should send a simulcast track to Pion, and then all 3 incoming streams will be relayed back. 32 33 Congrats, you have used Pion WebRTC! Now start building something cool