rtc-examples 0.8.0

Examples of WebRTC.rs stack with SansIO RTC API
Documentation
# simulcast

demonstrates of how to handle incoming track with multiple simulcast rtp streams and show all them back.

The browser will not send higher quality streams unless it has the available bandwidth. You can look at
the bandwidth estimation in `chrome://webrtc-internals`. It is under `VideoBwe` when `Read Stats From: Legacy non-Standard`
is selected.

## Instructions

### Build simulcast

```shell
cargo build --example simulcast
```

### Open simulcast example page

[jsfiddle.net](https://jsfiddle.net/tz4d5bhj) you should see two text-areas and a 'Start Session' button.

### Run simulcast, with your browsers SessionDescription as stdin

In the jsfiddle the top textarea is your browser, copy that and:

#### Linux/macOS

Run `echo $BROWSER_SDP | ./target/debug/examples/simulcast`

#### Windows

1. Paste the SessionDescription into a file.
1. Run `./target/debug/examples/simulcast < my_file`

### Input simulcast's SessionDescription into your browser

Copy the text that `simulcast` just emitted and copy into second text area

### Hit 'Start Session' in jsfiddle, enjoy your video!

Your browser should send a simulcast track to WebRTC.rs, and then all 3 incoming streams will be relayed back.

Congrats, you have used WebRTC.rs!