VoiceActivityDetectionOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents options for configuring voice activity detection (VAD) in a real-time session.
public ref class VoiceActivityDetectionOptions
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class VoiceActivityDetectionOptions
public class VoiceActivityDetectionOptions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type VoiceActivityDetectionOptions = class
type VoiceActivityDetectionOptions = class
Public Class VoiceActivityDetectionOptions
- Inheritance
-
VoiceActivityDetectionOptions
- Attributes
Remarks
Voice activity detection automatically determines when a user starts and stops speaking, enabling natural turn-taking in conversational audio interactions. When Enabled is true, the server detects speech boundaries and manages turn transitions automatically. When Enabled is false, the client must explicitly signal activity boundaries (e.g., via audio buffer commit and response creation).
Constructors
| Name | Description |
|---|---|
| VoiceActivityDetectionOptions() |
Initializes a new instance of the VoiceActivityDetectionOptions class. |
Properties
| Name | Description |
|---|---|
| AllowInterruption |
Gets or sets a value indicating whether the user's speech can interrupt the model's audio output. |
| Enabled |
Gets or sets a value indicating whether server-side voice activity detection is enabled. |