| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 22-Aug-2023 | - | ||||
| README.md | H A D | 22-Aug-2023 | 852 | 31 | 17 | |
| index.html | H A D | 22-Aug-2023 | 1.8 KiB | 81 | 67 | |
| play-from-disk-renegotiation.rs | H A D | 22-Aug-2023 | 13.5 KiB | 411 | 307 |
README.md
1# play-from-disk-renegotiation 2 3play-from-disk-renegotiation demonstrates WebRTC.rs's renegotiation abilities. 4 5For a simpler example of playing a file from disk we also have [examples/play-from-disk](/examples/play-from-disk) 6 7## Instructions 8 9### Build play-from-disk-renegotiation 10 11```shell 12cargo build --example play-from-disk-renegotiation 13``` 14 15### Create IVF named `output.ivf` that contains a VP8 track 16 17```shell 18ffmpeg -i $INPUT_FILE -g 30 output.ivf 19``` 20 21### Run play-from-disk-renegotiation 22 23The `output.ivf` you created should be in the same directory as `play-from-disk-renegotiation`. 24 25 26### Open the Web UI 27 28Open [http://localhost:8080](http://localhost:8080) and you should have a `Add Track` and `Remove Track` button. Press these to add as many tracks as you want, or to remove as many as you wish. 29 30Congrats, you have used WebRTC.rs! 31