-
Notifications
You must be signed in to change notification settings - Fork 1
1. Setting up a Connection
Florian König edited this page Oct 31, 2022
·
7 revisions
To connect two clients (host and attendee):
-
To determine the host, send
{"type": "connect-host"} -
From the other client: Using the returned hostId, request to connect the attendee
{ "type": "connect-attendee", "host": "$HOST", "code": "$CODE" } -
From the host, verify the provided code
{ "type": "accept-attendee-request", "clientId": "$CLIENT" }Alternatively, you can decline the request
{ "type": "decline-attendee-request", "clientId": "$CLIENT" }