Name Date Size #Lines LOC

..22-Aug-2023-

README.mdH A D22-Aug-2023852 3117

index.htmlH A D22-Aug-20231.8 KiB8167

play-from-disk-renegotiation.rsH A D22-Aug-202313.5 KiB411307

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