<< Click to display table of contents >> TRVCamReceiver.OnGetAllUsers, OnGetAllOnlineUsers |
The events occur in response to TRVCamSender.GetAllUsers / GetAllOnlineUsers
property OnGetAllUsers: TRVCmdEvent;
property OnGetAllOnlineUsers: TRVCmdEvent;
These events occur when a pair of TRVCamSender and TRVCamReceiver (inside a single application) is connected to TRVMediaServer via the network as a client.
These commands are supported only if rvcpUseSystemCmd and rvcpCmdAllUsers are included in TRVMediaServer.CmdOptions.
TRVCamSender GetAllUsers (or GetAllOnlineUsers) request a list of all users on the server. The server sends this list to a receiver, and OnGetAllUsers (or GetAllOnline) occurs.
The list of users is contained in ACmd parameter.
This command has the following parameters:
'GUIDCount' (integer) – count of returned users.
'GUIDUser1', 'GUIDUser2', ... (string) – user identifiers (from 1 to the value of 'GUIDCount')
If you perform time consuming operations inside an event, it makes sense to compare values of SessionKey parameter and SessionKey property, to make sure that a connection was not closed or reopened.
Warning: Do not display modal forms in this event.