TRVMediaServer.OnStart, OnStop, OnError

Top  Previous  Next

The events occurring when the server starts or stops.

type
  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.