Inheritance
System.Object
RTPHeader
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)
System.Object.ToString()
Assembly: SIPSorcery.dll
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Extract and load the RTP header from an RTP packet.
Declaration
public RTPHeader(byte[] packet)
Parameters
Type |
Name |
Description |
System.Byte[] |
packet |
|
Fields
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32[] |
|
|
Improve this Doc
View Source
Declaration
public ushort ExtensionLength
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Declaration
public byte[] ExtensionPayload
Field Value
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Declaration
public ushort ExtensionProfile
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Declaration
public int HeaderExtensionFlag
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int MIN_HEADER_LEN = 12
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const int ONE_BYTE_EXTENSION_PROFILE = 48862
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public DateTime ReceivedTime
Field Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
Declaration
public const int RTP_VERSION = 2
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public ushort SequenceNumber
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
public const int TWO_BYTE_EXTENSION_PROFILE = 4096
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
Declaration
public int Length { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Declaration
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Declaration
public byte[] GetHeader(ushort sequenceNumber, uint timestamp, uint syncSource)
Parameters
Type |
Name |
Description |
System.UInt16 |
sequenceNumber |
|
System.UInt32 |
timestamp |
|
System.UInt32 |
syncSource |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
Declaration
public List<RTPHeaderExtensionData> GetHeaderExtensions()
Returns
|
Improve this Doc
View Source
Declaration
public static bool TryParse(ReadOnlySpan<byte> buffer, out RTPHeader header, out int consumed)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Byte> |
buffer |
|
RTPHeader |
header |
|
System.Int32 |
consumed |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods