Name Date Size #Lines LOC

..22-Aug-2023-

README.mdH A D22-Aug-2023509 2516

answer.rsH A D22-Aug-202313.7 KiB392307

offer.rsH A D22-Aug-202313 KiB378295

README.md

1# offer-answer
2
3offer-answer is an example of two webrtc-rs or pion instances communicating directly!
4
5The SDP offer and answer are exchanged automatically over HTTP.
6The `answer` side acts like a HTTP server and should therefore be ran first.
7
8## Instructions
9
10First run `answer`:
11
12```shell
13cargo build --example answer
14./target/debug/examples/answer
15```
16
17Next, run `offer`:
18
19```shell
20cargo build --example offer
21./target/debug/examples/offer
22```
23
24You should see them connect and start to exchange messages.
25