Links

Connection to signaling

This article explains how to connect a client to signaling and join a room via VT API
To connect you need to know the values of the following fields from the user license:signaling_url,username,password - you can get them from the license file with those credentials.
JSON query example:
C# code example:
You will need to handle the following events:
  • on_connection, you will need auth_id value from this event response.
  • on_join
  • on_leave
JSON on_connectionexample:
JSON on_join example:
JSON on_join example:
C# code example:

Join room

To join the room you will need the room_id which is generated by the signaling after you send the auth_room_name_mask like in the following JSON request.
JSON request example:
In response, you will get the callback with the room_id.
JSON callback example:
C# Code example:
C# code example:
Now when you get room_id value you can join room:
JSON join example:
C# code example:
You will receive a callback with members field - a collection of managers in the room you’ve joined.
JSON callback example:
Optionally you can enumerate the managers with an individual request:
C# code example:
Right now you are prepared to work with managers.