C# Class RtspClientExample.UDPSocket

Afficher le fichier Open project: ngraziano/SharpRTSP Class Usage Examples

Méthodes publiques

Свойство Type Description
control_port int
data_port int

Méthodes publiques

Méthode Description
Start ( ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

UDPSocket ( String data_multicast_address, int data_multicast_port, String control_multicast_address, int control_multicast_port ) : System

Initializes a new instance of the UDPSocket class. Used with Multicast mode with the Multicast Address and Port

UDPSocket ( int start_port, int end_port ) : System

Initializes a new instance of the UDPSocket class. Creates two new UDP sockets using the start and end Port range

Méthodes protégées

Méthode Description
OnDataReceived ( Rtsp rtspChunkEventArgs ) : void

Raises the E:DataReceived event.

Private Methods

Méthode Description
DoWorkerJob ( System socket, int data_port ) : void

Does the video job.

Method Details

OnDataReceived() protected méthode

Raises the E:DataReceived event.
protected OnDataReceived ( Rtsp rtspChunkEventArgs ) : void
rtspChunkEventArgs Rtsp The instance containing the event data.
Résultat void

Start() public méthode

Starts this instance.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops this instance.
public Stop ( ) : void
Résultat void

UDPSocket() public méthode

Initializes a new instance of the UDPSocket class. Used with Multicast mode with the Multicast Address and Port
public UDPSocket ( String data_multicast_address, int data_multicast_port, String control_multicast_address, int control_multicast_port ) : System
data_multicast_address String
data_multicast_port int
control_multicast_address String
control_multicast_port int
Résultat System

UDPSocket() public méthode

Initializes a new instance of the UDPSocket class. Creates two new UDP sockets using the start and end Port range
public UDPSocket ( int start_port, int end_port ) : System
start_port int
end_port int
Résultat System

Property Details

control_port public_oe property

public int control_port
Résultat int

data_port public_oe property

public int data_port
Résultat int