1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

add minimal unit

This commit is contained in:
Zack Scholl 2019-11-11 10:43:46 -08:00
parent 4d7c5357a2
commit 9c233be5d9
6 changed files with 201 additions and 9 deletions

View file

@ -1,7 +1,18 @@
```
Work in progress.
# in the first terminal
git clone https://github.com/schollz/croc.git
cd croc
git checkout v7
cd src/webrtc/
make sender
This will be yet another re-write of croc (the 7th!). This time it should be
compatible with a browser as it will use WebRTC by default for data transfer and
it the main relay (for PAKE and WebRTC offer exchange) will be made using websockets.
# 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....
```