Struct RtpPacketWriter
- Namespace
- NetCord.Gateway.Voice
- Assembly
- NetCord.dll
public readonly ref struct RtpPacketWriter
- Inherited Members
-
Constructors
RtpPacketWriter(Span<byte>, bool)
public RtpPacketWriter(Span<byte> datagram, bool encryptedExtension)
Parameters
datagram
Span<byte>
encryptedExtension
bool
Properties
CsrcCount
public int CsrcCount { get; }
Property Value
- int
Datagram
public ReadOnlySpan<byte> Datagram { get; }
Property Value
- ReadOnlySpan<byte>
public ReadOnlySpan<byte> ExtendedHeader { get; }
Property Value
- ReadOnlySpan<byte>
public int ExtendedHeaderLength { get; }
Property Value
- int
Extension
public bool Extension { get; }
Property Value
- bool
public ReadOnlySpan<byte> FixedHeader { get; }
Property Value
- ReadOnlySpan<byte>
public ReadOnlySpan<byte> Header { get; }
Property Value
- ReadOnlySpan<byte>
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 Span<byte> Payload { get; }
Property Value
- Span<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