Our new developer documentation is now available. Please check it out!
OdinDefaults
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
public static class OdinDefaults
ODIN default configuration
Static Properties
Name | Type | Description |
---|---|---|
Verbose | Boolean | Enable additional logs |
Debug | Boolean | Enable additional debug logs |
AccessKey | String | Default access key |
Server | String | Default server url |
UserDataText | String | Default text representation of UserData |
DeviceSampleRate | MediaSampleRate | Microphone default Sample-Rate |
DeviceChannels | MediaChannels | Microphone default Channel |
RemoteSampleRate | MediaSampleRate | Playback default Sample-Rate |
RemoteChannels | MediaChannels | Playback default Channel |
PeerJoinedEvent | Boolean | Idicates whether the event is enabled by default |
PeerLeftEvent | Boolean | Idicates whether the event is enabled by default |
PeerUpdatedEvent | Boolean | Idicates whether the event is enabled by default |
MediaAddedEvent | Boolean | Idicates whether the event is enabled by default |
MediaRemovedEvent | Boolean | Idicates whether the event is enabled by default |
RoomUpdatedEvent | Boolean | Idicates whether the event is enabled by default |
MediaActiveStateChangedEvent | Boolean | Idicates whether the event is enabled by default |
MessageReceivedEvent | Boolean | Idicates whether the event is enabled by default |
TokenLifetime | UInt64 | JWT room token lifetime |
VoiceActivityDetection | Boolean | Idicates whether the ApmConfig setting is enabled by default |
VoiceActivityDetectionAttackProbability | Single | Idicates the vad attack probability ApmConfig setting by default |
VoiceActivityDetectionReleaseProbability | Single | Idicates the vad release probability ApmConfig setting by default |
VolumeGate | Boolean | Idicates whether the ApmConfig setting is enabled by default |
VolumeGateAttackLoudness | Single | Idicates the gate attack loudness ApmConfig setting by default |
VolumeGateReleaseLoudness | Single | Idicates the gate release loudness ApmConfig setting by default |
EchoCanceller | Boolean | Idicates whether the ApmConfig setting is enabled by default |
HighPassFilter | Boolean | Idicates whether the ApmConfig setting is enabled by default |
PreAmplifier | Boolean | Idicates whether the ApmConfig setting is enabled by default |
NoiseSuppressionLevel | OdinNoiseSuppressionLevel | Idicates the level of noise suppression ApmConfig setting by default |
TransientSuppressor | Boolean | Idicates whether the ApmConfig setting is enabled by default |