TRVCamReceiver.OnGetGroupUsers

<< Click to display table of contents >>

TRVCamReceiver.OnGetGroupUsers

Occurs in response to TRVCamSender.GetUsersFromGroup

type

  TRVGetGroupUsersEvent = procedure(Sender: TRVCamReceiver;

    SessionKey: TRVSessionKeyconst GUIDGroup: TRVMAnsiString;

    GUIDUsers: TStrings) of object;

property OnGetGroupUsers  : TRVGetGroupUsersEvent

This event occurs when a pair of TRVCamSender and TRVCamReceiver (inside a single application) is connected to TRVMediaServer via the network as a client.

TRVCamSender.GetUsersFromGroup requests a list of clients belonging to some group from the server. The server sends this list to a receiver, and OnGetGroupUsers occurs.

Parameters:

GUIDGroup – identifier of the group (the same as the parameter of TRVCamSender GetUsersFromGroup)

GUIDUsers – a list of identifiers of users belonging to this group.

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.

See also

OnUseJoinsGroup, OnUserLeavesGroup