Show / Hide Table of Contents

Class RTSPTransportHeader

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)
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class RTSPTransportHeader

Constructors

| Improve this Doc View Source

RTSPTransportHeader()

Declaration
public RTSPTransportHeader()

Fields

| Improve this Doc View Source

BroadcastType

Declaration
public string BroadcastType
Field Value
Type Description
System.String
| Improve this Doc View Source

CLIENT_RTP_PORT_FIELD_NAME

Declaration
public const string CLIENT_RTP_PORT_FIELD_NAME = "client_port"
Field Value
Type Description
System.String
| Improve this Doc View Source

ClientRTPPortRange

Declaration
public string ClientRTPPortRange
Field Value
Type Description
System.String
| Improve this Doc View Source

Destination

Declaration
public string Destination
Field Value
Type Description
System.String
| Improve this Doc View Source

DESTINATION_FIELD_NAME

Declaration
public const string DESTINATION_FIELD_NAME = "destination"
Field Value
Type Description
System.String
| Improve this Doc View Source

Mode

Declaration
public string Mode
Field Value
Type Description
System.String
| Improve this Doc View Source

MODE_FIELD_NAME

Declaration
public const string MODE_FIELD_NAME = "mode"
Field Value
Type Description
System.String
| Improve this Doc View Source

MULTICAST_RTP_PORT_FIELD_NAME

Declaration
public const string MULTICAST_RTP_PORT_FIELD_NAME = "port"
Field Value
Type Description
System.String
| Improve this Doc View Source

MulticastRTPPortRange

Declaration
public string MulticastRTPPortRange
Field Value
Type Description
System.String
| Improve this Doc View Source

RawHeader

Declaration
public string RawHeader
Field Value
Type Description
System.String
| Improve this Doc View Source

SERVER_RTP_PORT_FIELD_NAME

Declaration
public const string SERVER_RTP_PORT_FIELD_NAME = "server_port"
Field Value
Type Description
System.String
| Improve this Doc View Source

ServerRTPPortRange

Declaration
public string ServerRTPPortRange
Field Value
Type Description
System.String
| Improve this Doc View Source

Source

Declaration
public string Source
Field Value
Type Description
System.String
| Improve this Doc View Source

SOURCE_FIELD_NAME

Declaration
public const string SOURCE_FIELD_NAME = "source"
Field Value
Type Description
System.String
| Improve this Doc View Source

TransportSpecifier

Declaration
public string TransportSpecifier
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetClientRtcpPort()

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

GetClientRTPPort()

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

GetServerRtcpPort()

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

GetServerRTPPort()

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

Parse(String)

Declaration
public static RTSPTransportHeader Parse(string header)
Parameters
Type Name Description
System.String header
Returns
Type Description
RTSPTransportHeader
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX