TRVMediaServer.OnStart, OnStop, OnError

<< Click to display table of contents >>

TRVMediaServer.OnStart, OnStop, OnError

The events occurring when the server starts or stops.

  TRVServerEvent = procedure(Sender: TRVMediaServer;
    const Protocol: TRVProtocolof object;
property OnStart: TRVServerEvent;
property OnStop: TRVServerEvent;
property OnError: TRVServerEvent;

OnStart occurs when the server started its work successfully.

OnError occurs if the server fails to start.

OnStop occurs when the server ends its work.