Show / Hide Table of Contents

Class RTPHeader

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

Constructors

| Improve this Doc View Source

RTPHeader()

Declaration
public RTPHeader()
| Improve this Doc View Source

RTPHeader(Byte[])

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

CSRCCount

Declaration
public int CSRCCount
Field Value
Type Description
System.Int32
| Improve this Doc View Source

CSRCList

Declaration
public int[] CSRCList
Field Value
Type Description
System.Int32[]
| Improve this Doc View Source

ExtensionLength

Declaration
public ushort ExtensionLength
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

ExtensionPayload

Declaration
public byte[] ExtensionPayload
Field Value
Type Description
System.Byte[]
| Improve this Doc View Source

ExtensionProfile

Declaration
public ushort ExtensionProfile
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

HeaderExtensionFlag

Declaration
public int HeaderExtensionFlag
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MarkerBit

Declaration
public int MarkerBit
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MIN_HEADER_LEN

Declaration
public const int MIN_HEADER_LEN = 12
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ONE_BYTE_EXTENSION_PROFILE

Declaration
public const int ONE_BYTE_EXTENSION_PROFILE = 48862
Field Value
Type Description
System.Int32
| Improve this Doc View Source

PaddingCount

Declaration
public byte PaddingCount
Field Value
Type Description
System.Byte
| Improve this Doc View Source

PaddingFlag

Declaration
public int PaddingFlag
Field Value
Type Description
System.Int32
| Improve this Doc View Source

PayloadSize

Declaration
public int PayloadSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

PayloadType

Declaration
public int PayloadType
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ReceivedTime

Declaration
public DateTime ReceivedTime
Field Value
Type Description
System.DateTime
| Improve this Doc View Source

RTP_VERSION

Declaration
public const int RTP_VERSION = 2
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SequenceNumber

Declaration
public ushort SequenceNumber
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

SyncSource

Declaration
public uint SyncSource
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

Timestamp

Declaration
public uint Timestamp
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

TWO_BYTE_EXTENSION_PROFILE

Declaration
public const int TWO_BYTE_EXTENSION_PROFILE = 4096
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Version

Declaration
public int Version
Field Value
Type Description
System.Int32

Properties

| Improve this Doc View Source

Length

Declaration
public int Length { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetBytes()

Declaration
public byte[] GetBytes()
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

GetHeader(UInt16, UInt32, UInt32)

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

GetHeaderExtensions()

Declaration
public List<RTPHeaderExtensionData> GetHeaderExtensions()
Returns
Type Description
System.Collections.Generic.List<RTPHeaderExtensionData>
| Improve this Doc View Source

TryParse(ReadOnlySpan<Byte>, out RTPHeader, out Int32)

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

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