Server connection broker requirements
Created by: jcopi
-
The server needs to allow websocket connections from clients. -
The server needs to accept identification numbers from connected clients along with self signed public key certs. (server should verify cert signature and should verify the signature of all subsequent messages) -
The server needs to store the identification number, public key cert, and websocket connection for use by other connections. -
The server needs to facilitate clients sending WebRTC offers, answers, and ICE candidates (JSON data generated by the client) between connected clients with the same identification numbers. (The server should send the clients public key cert with offers and answers). -
The server needs to erase all relevant data when a client disconnects -
The server needs to honor expiration times on public key certs when provided, simplest way would be to disconnect after cert expires. -
The server should never read any WebRTC connection data for a reason other than validating a signature. -
The server should never store any data associated with a connected client.