Table of Contents
API reference

Class VoiceMediaSinkWants

Namespace
DisCatSharp.Voice.Entities
Assembly
DisCatSharp.Voice.dll

An immutable voice gateway Media Sink Wants snapshot (OP 15).

public sealed class VoiceMediaSinkWants
Inheritance
VoiceMediaSinkWants
Inherited Members

Remarks

Any applies to every SSRC not present in SsrcWants. Discord accepts values from 0 through 100; audio callers normally use 0 to suppress a stream and 100 to receive it. Supplying a snapshot replaces the previous wants at the voice gateway rather than merging with them.

Constructors

VoiceMediaSinkWants(int, IReadOnlyDictionary<uint, int>?)

Initializes an immutable Media Sink Wants snapshot.

Properties

Any

Gets the want value applied to SSRCs absent from SsrcWants.

SsrcWants

Gets the want values explicitly associated with remote SSRCs.