Disconnecting the client's video connection on the server side

Max

Administrator
Staff member
Good day.
You can terminate any client connection at server side by REST API query /connection/terminate:
Code:
POST /rest-api/connection/terminate HTTP/1.1
Host:192.168.1.101:8081
Content-Length: 55
Content-Type: application/json
 
{
    "sessionId":"/192.168.1.102:39564/192.168.1.101:8443"
}
You have to know the client session Id to do this. So to disconnect all the clients from a certain room you should use REST hook /connect to collect clients data.
 
Top