VoiceLiveAsyncClient Class
- java.
lang. Object - com.
azure. ai. voicelive. VoiceLiveAsyncClient
- com.
public final class VoiceLiveAsyncClient
The VoiceLiveAsyncClient provides methods to create and manage real-time voice communication sessions with the Azure VoiceLive service.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
reactor.core.publisher.Mono<Voice |
startSession()
Starts a new Voice |
|
reactor.core.publisher.Mono<Voice |
startSession(AgentSessionConfig agentConfig, VoiceLiveRequestOptions requestOptions)
Starts a new Voice |
|
reactor.core.publisher.Mono<Voice |
startSession(String model, VoiceLiveRequestOptions requestOptions)
Starts a new Voice |
Methods inherited from java.lang.Object
Method Details
startSession
public Mono<VoiceLiveSessionAsyncClient> startSession()
Starts a new VoiceLiveSessionAsyncClient for real-time voice communication using the default service-side model configuration.
Returns:
startSession
public Mono<VoiceLiveSessionAsyncClient> startSession(AgentSessionConfig agentConfig, VoiceLiveRequestOptions requestOptions)
Starts a new VoiceLiveSessionAsyncClient for real-time voice communication with an Azure AI Foundry agent.
This method configures the session to connect directly to an Azure AI Foundry agent, using the agent configuration to set the appropriate query parameters.
Parameters:
Returns:
startSession
public Mono<VoiceLiveSessionAsyncClient> startSession(String model, VoiceLiveRequestOptions requestOptions)
Starts a new VoiceLiveSessionAsyncClient for real-time voice communication with custom request options.
Parameters:
Returns: