type // defined in MRVType unit
AMediaIndex : Word) of object;
property OnReceiveUserData: TRVDataReadEvent;
AData – received content
nGUIDFrom – identifier of the sender which sent the command (TRVCamSender.GUIDFrom)
AMediaIndex – index of the sender's media channel.
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.
The event is called in a thread context or a main process context, depending on SynchonizedReceiveUserData property.
Do not update user interface (or make any other operation that requires a context of the main process) in events called in a thread context.