Table of Contents

Class Opus

Namespace
NetCord.Gateway.Voice
Assembly
NetCord.dll
public static class Opus
Inheritance
Opus
Inherited Members

Fields

FrameDuration

public const int FrameDuration = 20

Field Value

int

MaxOpusBitrate

public const int MaxOpusBitrate = 510000

Field Value

int

MaxOpusFrameLength

public const int MaxOpusFrameLength = 1275

Field Value

int

SamplesPerChannel

public const int SamplesPerChannel = 960

Field Value

int

SamplingRate

public const int SamplingRate = 48000

Field Value

int

Methods

GetFrameSize(PcmFormat, VoiceChannels)

public static int GetFrameSize(PcmFormat format, VoiceChannels channels)

Parameters

format PcmFormat

Format of PCM.

channels VoiceChannels

Number of channels.

Returns

int