croc/README.md

29 lines
633 B
Markdown
Raw Normal View History

2018-07-07 15:46:40 +02:00
```
2019-11-12 01:59:22 +01:00
Clients connect to websockets and broadcasts "ready".
If client receives "ready" then it becomes the rtcOfferer and initiates (note that being an offerer does not mean it is the sender, that will be established later).
Establish secure passphrase using PAKE
Establish RTC communication
Communication moves to the RTC channel
2019-11-11 19:43:46 +01:00
2019-11-12 01:59:22 +01:00
1: rtcOfferer
2019-11-11 19:43:46 +01:00
2019-11-12 01:59:22 +01:00
createOffer
setLocalDescription
SEND offer
RECIEVE answer
setRemoteDescription(answer)
2: rtcAnswerer
setLocalDescription
RECEIVE offer
setRemoteDescription(offer)
createAnswer
SEND answer
```
2019-11-11 19:43:46 +01:00