vcuse / Neurology-Project-iOS-Client

Apache License 2.0
0 stars 1 forks source link

Feature Request: Calling from the iPhone App to any client #3

Open deHank opened 2 months ago

deHank commented 2 months ago
deHank commented 1 month 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]

image

it will be similar to this method in the WebRTCClient class.

deHank commented 1 month ago

here is the message that you send as an offer image