C# 클래스 RtspClientExample.UDPSocket

파일 보기 프로젝트 열기: ngraziano/SharpRTSP 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
control_port int
data_port int

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnDataReceived ( Rtsp rtspChunkEventArgs ) : void

Raises the E:DataReceived event.

비공개 메소드들

메소드 설명
DoWorkerJob ( System socket, int data_port ) : void

Does the video job.

메소드 상세

OnDataReceived() 보호된 메소드

Raises the E:DataReceived event.
protected OnDataReceived ( Rtsp rtspChunkEventArgs ) : void
rtspChunkEventArgs Rtsp The instance containing the event data.
리턴 void

Start() 공개 메소드

Starts this instance.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops this instance.
public Stop ( ) : void
리턴 void

UDPSocket() 공개 메소드

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
리턴 System

UDPSocket() 공개 메소드

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
리턴 System

프로퍼티 상세

control_port 공개적으로 프로퍼티

public int control_port
리턴 int

data_port 공개적으로 프로퍼티

public int data_port
리턴 int