Struct RtcpHeader
- Namespace
- DSharpPlus.VoiceLink.Rtp
- Assembly
- DSharpPlus.VoiceLink.dll
public readonly record struct RtcpHeader : IEquatable<RtcpHeader>
- Implements
- Inherited Members
Constructors
RtcpHeader(ReadOnlySpan<byte>)
public RtcpHeader(ReadOnlySpan<byte> data)
Parameters
data
ReadOnlySpan<byte>
Properties
Length
Gets the length of the RTCP header.
public int Length { get; init; }
Property Value
PacketType
Gets the packet type of the RTCP header.
public int PacketType { get; init; }
Property Value
Padding
Gets whether the RTCP header has padding.
public int Padding { get; init; }
Property Value
ReportCount
Gets the report count of the RTCP header.
public int ReportCount { get; init; }
Property Value
Ssrc
Gets the SSRC of the RTCP header.
public uint Ssrc { get; init; }
Property Value
Version
Gets the version of the RTCP header.
public int Version { get; init; }