Open deHank opened 2 months ago
To start implementing: You should pull the json data located at https://videochat-signaling-app.ue.r.appspot.com/key=peerjs/peers and store each UUID in a list. These will be all of the users that are connected and available to call.
Then, you will have to construct a message in JSON format to send to the server. This message must have an exact format. This message is type in the format [[type: MessageType][src: our UUID][dst: The candidate UUID we want to call][[payload: the data we want to send]
it will be similar to this method in the WebRTCClient class.
here is the message that you send as an offer