Table of Contents

Struct RtpPacket

Namespace
NetCord.Gateway.Voice
Assembly
NetCord.dll
public readonly ref struct RtpPacket
Inherited Members

Constructors

RtpPacket(ReadOnlySpan<byte>, bool)

public RtpPacket(ReadOnlySpan<byte> datagram, bool encryptedExtension)

Parameters

datagram ReadOnlySpan<byte>
encryptedExtension bool

Properties

CsrcCount

public int CsrcCount { get; }

Property Value

int

Datagram

public ReadOnlySpan<byte> Datagram { get; }

Property Value

ReadOnlySpan<byte>

ExtendedHeader

public ReadOnlySpan<byte> ExtendedHeader { get; }

Property Value

ReadOnlySpan<byte>

ExtendedHeaderLength

public int ExtendedHeaderLength { get; }

Property Value

int

Extension

public bool Extension { get; }

Property Value

bool

FixedHeader

public ReadOnlySpan<byte> FixedHeader { get; }

Property Value

ReadOnlySpan<byte>

Header

public ReadOnlySpan<byte> Header { get; }

Property Value

ReadOnlySpan<byte>

HeaderLength

public int HeaderLength { get; }

Property Value

int

Marker

public bool Marker { get; }

Property Value

bool

Padding

public bool Padding { get; }

Property Value

bool

Payload

public ReadOnlySpan<byte> Payload { get; }

Property Value

ReadOnlySpan<byte>

PayloadType

public int PayloadType { get; }

Property Value

int

SequenceNumber

public ushort SequenceNumber { get; }

Property Value

ushort

Ssrc

public uint Ssrc { get; }

Property Value

uint

Timestamp

public uint Timestamp { get; }

Property Value

uint

Version

public int Version { get; }

Property Value

int