2018-07-07 15:46:40 +02:00
|
|
|
```
|
2019-11-11 19:43:46 +01:00
|
|
|
# in the first terminal
|
|
|
|
git clone https://github.com/schollz/croc.git
|
|
|
|
cd croc
|
|
|
|
git checkout v7
|
|
|
|
cd src/webrtc/
|
|
|
|
make sender
|
2019-07-05 03:20:25 +02:00
|
|
|
|
2019-11-11 19:43:46 +01:00
|
|
|
# in second terminal
|
|
|
|
cd src/webrtc/
|
|
|
|
make receive
|
|
|
|
|
|
|
|
# open up localhost:8003 and open console.
|
|
|
|
# copy the last JSON output and save it into src/webrtc/answer.json
|
|
|
|
|
|
|
|
# communication should ensue....
|
2019-07-05 03:20:25 +02:00
|
|
|
```
|
2019-11-11 19:43:46 +01:00
|
|
|
|