Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinRoom.updateVADThresholds

updateVADThresholds(attackProbability: number, releaseProbability?: number): void

Updates thresholds for vice activity detection (between 0 and 1).

Parameters

NameTypeDescription
attackProbabilitynumberVoice probability value when the VAD should engage
releaseProbabilitynumberVoice probability value when the VAD should disengage

Returns

TypeDescription
void