Skip to main content
Version: 2.x

Class OdinDefaults

ODIN default configuration

Declaration
public static class OdinDefaults

Properties​

AccessKey​

Default access key

Declaration
public static string AccessKey { get; set; }

Server​

Default server url

Declaration
public static string Server { get; set; }

UserDataText​

Default text representation of UserData

Declaration
public static string UserDataText { get; set; }

TokenLifetime​

JWT room token lifetime

Declaration
public static ulong TokenLifetime { get; set; }

Fields​

DEBUG​

Declaration
public static bool DEBUG

SDKID​

PackageName

Declaration
public const string SDKID = "io.fourplayers.odin"

GATEWAY​

Default Gateway

Declaration
public const string GATEWAY = "gateway.odin.4players.io"

SampleRate​

Default Samplerate

Declaration
public const int SampleRate = 48000

Stereo​

Default Stereo flag

Declaration
public const bool Stereo = false

Verbosity​

Enable additional logs

Declaration
public static OdinLog.VerbosityLevel Verbosity

VoiceActivityDetection​

Indicates whether the ApmConfig setting is enabled by default

Declaration
public static bool VoiceActivityDetection

VoiceActivityDetectionAttackProbability​

Indicates the vad attack probability ApmConfig setting by default

Declaration
public static float VoiceActivityDetectionAttackProbability

VoiceActivityDetectionReleaseProbability​

Indicates the vad release probability ApmConfig setting by default

Declaration
public static float VoiceActivityDetectionReleaseProbability

VolumeGate​

Indicates whether the ApmConfig setting is enabled by default

Declaration
public static bool VolumeGate

VolumeGateAttackLoudness​

Indicates the gate attack loudness ApmConfig setting by default

Declaration
public static float VolumeGateAttackLoudness

VolumeGateReleaseLoudness​

Indicates the gate release loudness ApmConfig setting by default

Declaration
public static float VolumeGateReleaseLoudness

EchoCanceller​

When enabled the echo canceller will try to subtract echoes, reverberation and unwanted added sounds from the audio input signal. Note that you need to process the reverse audio stream, also known as the loopback data to be used in the ODIN echo canceller.

Declaration
public static bool EchoCanceller

HighPassFilter​

When enabled, the high-pass filter will remove low-frequency content from the input audio signal, thus making it sound cleaner and more focused.

Declaration
public static bool HighPassFilter

TransientSuppressor​

When enabled, the transient suppressor will try to detect and attenuate keyboard clicks.

Declaration
public static bool TransientSuppressor

NoiseSuppressionLevel​

When enabled, the noise suppressor will remove distracting background noise from the input audio signal. You can control the aggressiveness of the suppression. Increasing the level will reduce the noise level at the expense of a higher speech distortion.

Declaration
public static NativeBindings.OdinNoiseSuppressionLevel NoiseSuppressionLevel

GainControllerVersion​

When enabled, the gain controller will bring the input audio signal to an appropriate range when it's either too loud or too quiet.

Declaration
public static NativeBindings.OdinGainControllerVersion GainControllerVersion

VoiceIsolation​

Indicates whether the ViConfig setting is enabled by default

Declaration
public static bool VoiceIsolation

VoiceIsolationAttenuationLimitDb​

Indicates the default maximum attenuation applied to non-speech in dB by the ViConfig setting

Declaration
public static float VoiceIsolationAttenuationLimitDb