TRVMediaServer.OnPacketProcessing, OnConnectionCountChanged

<< Click to display table of contents >>

TRVMediaServer.OnPacketProcessing, OnConnectionCountChanged

The events allowing to display information about the server status.

type
  TRVMSCountEvent = procedure(Sender: TRVMediaServer;

    const Count : Integer) of object;
property OnPacketProcessing: TRVMSCountEvent;

property OnConnectionCountChanged: TRVMSCountEvent;

OnPacketProcessing occurs when a new packet is received or processed. Count is the number of accumulated packets.

OnConnectionCountChanged occurs when a count of connections is changed. Count is the number of connections (a connection is a channel to TRVCamReceiver)

These events can be useful to show information about the server status; you can show how much the server is busy.

See also:

OnUserConnect, OnUserDisconnect