Represents the Transport header used in RTSP requests and responses.
Inheritance
System.Object
RTSPTransportHeader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: SIPSorcery.dll
public class RTSPTransportHeader
Constructors
|
Improve this Doc
View Source
Declaration
public RTSPTransportHeader()
Fields
|
Improve this Doc
View Source
Declaration
public string BroadcastType
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string CLIENT_RTP_PORT_FIELD_NAME = "client_port"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string ClientRTPPortRange
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string Destination
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string DESTINATION_FIELD_NAME = "destination"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MODE_FIELD_NAME = "mode"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MULTICAST_RTP_PORT_FIELD_NAME = "port"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string MulticastRTPPortRange
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string SERVER_RTP_PORT_FIELD_NAME = "server_port"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string ServerRTPPortRange
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string SOURCE_FIELD_NAME = "source"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string TransportSpecifier
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Attempts to determine the client RTCP port based on the transport header attributes.
Declaration
public int GetClientRtcpPort()
Returns
Type |
Description |
System.Int32 |
The client port that RTCP packets should be sent to. If the port cannot be determined then 0.
|
|
Improve this Doc
View Source
Attempts to determine the client RTP port based on the transport header attributes.
Declaration
public int GetClientRTPPort()
Returns
Type |
Description |
System.Int32 |
The client port that RTP packets should be sent to. If the port cannot be determined then 0.
|
|
Improve this Doc
View Source
Attempts to determine the server Rtcp port based on the transport header attributes.
Declaration
public int GetServerRtcpPort()
Returns
Type |
Description |
System.Int32 |
The server port that RTCP packets should be sent to. If the port cannot be determined then 0.
|
|
Improve this Doc
View Source
Attempts to determine the server RTP port based on the transport header attributes.
Declaration
public int GetServerRTPPort()
Returns
Type |
Description |
System.Int32 |
The server port that RTP packets should be sent to. If the port cannot be determined then 0.
|
|
Improve this Doc
View Source
Declaration
public static RTSPTransportHeader Parse(string header)
Parameters
Type |
Name |
Description |
System.String |
header |
|
Returns
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Extension Methods