github.com/pion/webrtc/v3@v3.2.24/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 export GO111MODULE=on 12 go get github.com/pion/webrtc/v3/examples/simulcast 13 ``` 14 15 ### Open simulcast example page 16 [jsfiddle.net](https://jsfiddle.net/tz4d5bhj/) you should see two text-areas and two buttons: `Copy browser SDP to clipboard`, `Start Session`. 17 18 ### Run simulcast, with your browsers SessionDescription as stdin 19 In the jsfiddle the top textarea is your browser's Session Description. Press `Copy browser SDP to clipboard` or copy the base64 string manually. 20 We will use this value in the next step. 21 22 #### Linux/macOS 23 Run `echo $BROWSER_SDP | simulcast` 24 #### Windows 25 1. Paste the SessionDescription into a file. 26 1. Run `simulcast < my_file` 27 28 ### Input simulcast's SessionDescription into your browser 29 Copy the text that `simulcast` just emitted and copy into second text area 30 31 ### Hit 'Start Session' in jsfiddle, enjoy your video! 32 Your browser should send a simulcast track to Pion, and then all 3 incoming streams will be relayed back. 33 34 Congrats, you have used Pion WebRTC! Now start building something cool