C# Class SIPSorcery.Net.RTSPClient

显示文件 Open project: sipsorcery/sipsorcery Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the session and the RTSP connection to the server.

GetStreamDescription ( string url ) : string
Play ( ) : void

Send a PLAY request to the RTSP server to commence the media stream.

RTSPClient ( ) : System
RTSPClient ( Action rtpTrackingAction ) : System
SetRTPPayloadHeaderLength ( int rtpPayloadHeaderLength ) : void
Start ( string url ) : void

Private Methods

Method Description
ProcessRTPPackets ( ) : void
RTPQueueFull ( ) : void
SendKeepAlives ( ) : void

Sends a keep-alive packet to keep the RTSP RTP connection from being shut.

Teardown ( ) : void

Sends the RTSP teardown request for an existing RTSP session.

Method Details

Close() public method

Closes the session and the RTSP connection to the server.
public Close ( ) : void
return void

GetStreamDescription() public method

public GetStreamDescription ( string url ) : string
url string
return string

Play() public method

Send a PLAY request to the RTSP server to commence the media stream.
public Play ( ) : void
return void

RTSPClient() public method

public RTSPClient ( ) : System
return System

RTSPClient() public method

public RTSPClient ( Action rtpTrackingAction ) : System
rtpTrackingAction Action
return System

SetRTPPayloadHeaderLength() public method

public SetRTPPayloadHeaderLength ( int rtpPayloadHeaderLength ) : void
rtpPayloadHeaderLength int
return void

Start() public method

public Start ( string url ) : void
url string
return void