<< Click to display table of contents >> TRVMediaServer.OnUserConnect, OnUserDisconnect |
Occurs when a connection to client is created/closed.
type
TRVMSUserEvent = procedure(Sender: TRVMediaServer;
const GUIDUser: TRVMAnsiString;
MediaType: TRVMediaType) of object;
property OnUserConnect: TRVMSUserEvent;
property OnUserDisconnect: TRVMSUserEvent;
The events occur when a channel to client's TRVCamReceiver is created/closed.
GUIDUser identifies the client, it is equal to TRVCamReceiver.GUIDMy.
MediaType is a data type for the channel.
These events are called in a thread context. Do not update user interface (or make any other operation that requires a context of the main process) in these events.
See also: