Skip to main content
Version: 1.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; }

DeviceSampleRate​

Microphone default Sample-Rate

Declaration
public static MediaSampleRate DeviceSampleRate { get; set; }

DeviceChannels​

Microphone default Channel

Declaration
public static MediaChannels DeviceChannels { get; set; }

RemoteSampleRate​

Playback default Sample-Rate

Declaration
public static MediaSampleRate RemoteSampleRate { get; set; }

RemoteChannels​

Playback default Channel

Declaration
public static MediaChannels RemoteChannels { get; set; }

TokenLifetime​

JWT room token lifetime

Declaration
public static ulong TokenLifetime { get; set; }

Fields​

Verbose​

Enable additional logs

Declaration
public static bool Verbose

Debug​

Enable additional debug logs

Declaration
public static bool Debug

PeerJoinedEvent​

Idicates whether the event is enabled by default

Declaration
public static bool PeerJoinedEvent

PeerLeftEvent​

Idicates whether the event is enabled by default

Declaration
public static bool PeerLeftEvent

PeerUpdatedEvent​

Idicates whether the event is enabled by default

Declaration
public static bool PeerUpdatedEvent

MediaAddedEvent​

Idicates whether the event is enabled by default

Declaration
public static bool MediaAddedEvent

MediaRemovedEvent​

Idicates whether the event is enabled by default

Declaration
public static bool MediaRemovedEvent

RoomUpdatedEvent​

Idicates whether the event is enabled by default

Declaration
public static bool RoomUpdatedEvent

MediaActiveStateChangedEvent​

Idicates whether the event is enabled by default

Declaration
public static bool MediaActiveStateChangedEvent

MessageReceivedEvent​

Idicates whether the event is enabled by default

Declaration
public static bool MessageReceivedEvent

VoiceActivityDetection​

Idicates whether the ApmConfig setting is enabled by default

Declaration
public static bool VoiceActivityDetection

VoiceActivityDetectionAttackProbability​

Idicates the vad attack probability ApmConfig setting by default

Declaration
public static float VoiceActivityDetectionAttackProbability

VoiceActivityDetectionReleaseProbability​

Idicates the vad release probability ApmConfig setting by default

Declaration
public static float VoiceActivityDetectionReleaseProbability

VolumeGate​

Idicates whether the ApmConfig setting is enabled by default

Declaration
public static bool VolumeGate

VolumeGateAttackLoudness​

Idicates the gate attack loudness ApmConfig setting by default

Declaration
public static float VolumeGateAttackLoudness

VolumeGateReleaseLoudness​

Idicates the gate release loudness ApmConfig setting by default

Declaration
public static float VolumeGateReleaseLoudness

EchoCanceller​

Idicates whether the ApmConfig setting is enabled by default

Declaration
public static bool EchoCanceller

HighPassFilter​

Idicates whether the ApmConfig setting is enabled by default

Declaration
public static bool HighPassFilter

PreAmplifier​

Idicates whether the ApmConfig setting is enabled by default

Declaration
public static bool PreAmplifier

NoiseSuppressionLevel​

Idicates the level of noise suppression ApmConfig setting by default

Declaration
public static NativeBindings.OdinNoiseSuppressionLevel NoiseSuppressionLevel

TransientSuppressor​

Idicates whether the ApmConfig setting is enabled by default

Declaration
public static bool TransientSuppressor

GainController​

Idicates whether the ApmConfig setting is enabled by default

Declaration
public static bool GainController