Easily and securely send things from one computer to another 🐊 📦
Go to file
Zack Scholl 6534e6fda6 no idea 2019-11-12 15:49:13 -08:00
src no idea 2019-11-12 15:49:13 -08:00
README.md check ordering 2019-11-11 16:59:22 -08:00
go.mod no idea 2019-11-12 15:49:13 -08:00
go.sum no idea 2019-11-12 15:49:13 -08:00
main.go works server<->server 2019-11-11 22:03:12 -08: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


1: rtcOfferer


    createOffer
    setLocalDescription
    SEND offer
    RECIEVE answer
    setRemoteDescription(answer)


2: rtcAnswerer


    setLocalDescription
    RECEIVE offer
    setRemoteDescription(offer)
    createAnswer
    SEND answer