[VoiceLive] Add changes for 2026-06-01-preview#49347
Open
xitzhang wants to merge 7 commits into
Open
Conversation
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
|
No pipelines are associated with this pull request. |
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
|
No pipelines are associated with this pull request. |
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the azure-ai-voicelive Java SDK to align with the 2026-06-01-preview VoiceLive TypeSpec/specification, adding new generated model/event types and accompanying serialization/deserialization coverage.
Changes:
- Updated the TypeSpec/spec commit pin and regenerated the VoiceLive model/event surface for
2026-06-01-preview. - Added support for new features/events (e.g., WebRTC SDP negotiation events, streaming input text events, output audio buffer lifecycle events, hosted-agent invocation passthrough, smart EoU detection, echo cancellation extensions, native realtime voices, parallel tool calls).
- Expanded unit tests and live tests to validate round-trip JSON behavior for the new/updated models.
Reviewed changes
Copilot reviewed 39 out of 39 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sdk/voicelive/azure-ai-voicelive/tsp-location.yaml | Updates the azure-rest-api-specs commit pin used for TypeSpec-based generation. |
| sdk/voicelive/azure-ai-voicelive/src/main/resources/META-INF/azure-ai-voicelive_metadata.json | Updates metadata to 2026-06-01-preview and records newly generated definitions/files. |
| sdk/voicelive/azure-ai-voicelive/CHANGELOG.md | Documents newly added preview features/events and regeneration details. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/VoiceLiveSessionOptions.java | Adds parallel_tool_calls support in options JSON (serialize/deserialize + accessors). |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/VoiceLiveSessionResponse.java | Adds parallel_tool_calls support in session response JSON (serialize/deserialize + accessors). |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ResponseCreateParams.java | Adds invoke_input support for hosted agent invocation payloads. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/SessionClientEvent.java | Registers new client event discriminators for streaming input text + WebRTC SDP create. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/SessionServerEvent.java | Registers new server event discriminators (invocation delta, RTC events, audio buffer lifecycle). |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ClientEventType.java | Adds new client event type constants for WebRTC SDP create + input text streaming. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventType.java | Adds new server event type constants for invocation delta, RTC events, and audio buffer lifecycle. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ClientEventRtcCallSdpCreate.java | New client event model for WebRTC SDP offer initiation. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventRtcCallSdpCreated.java | New server event model for successful WebRTC SDP negotiation completion. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventRtcCallError.java | New server event model for WebRTC call operation errors. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/RtcCallErrorDetails.java | New error payload model used by RTC call error events. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ClientEventInputTextDelta.java | New client event model for streaming input text deltas. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ClientEventInputTextDone.java | New client event model marking end of input text streaming. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventResponseInvocationDelta.java | New passthrough server event model for hosted-agent invocation SSE deltas. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventOutputAudioBufferStarted.java | New server event model indicating audio buffer playback started. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventOutputAudioBufferStopped.java | New server event model indicating audio buffer playback stopped. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/SmartEndOfTurnDetection.java | New EouDetection subtype for audio-based end-of-turn detection. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/EouDetectionModel.java | Adds discriminator constant SMART_END_OF_TURN_DETECTION. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/EouDetection.java | Registers the new smart_end_of_turn_detection discriminator to SmartEndOfTurnDetection. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/EchoCancellationReferenceSource.java | New expandable enum for echo cancellation reference source selection. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/AudioEchoCancellation.java | Extends echo cancellation model with reference_source and channels and makes it fluent. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/AzureRealtimeNativeVoice.java | New model for Azure realtime native voice configuration. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/AzureRealtimeNativeVoiceName.java | New expandable enum of known Azure realtime native voice names. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ResponseWebSearchCallItem.java | Adjusts JSON (de)serialization to use base id handling. |
| sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ResponseFileSearchCallItem.java | Adjusts JSON (de)serialization to use base id handling. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/VoiceLiveSessionOptionsNewFeaturesTest.java | Adds unit tests for parallel_tool_calls option/response behavior. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/ResponseCreateParamsNewFeaturesTest.java | Adds unit test coverage for invoke_input round-trip behavior. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/SmartEndOfTurnDetectionTest.java | Adds tests for new EoU subtype round-trip and polymorphic discriminator behavior. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/ServerEventResponseInvocationDeltaTest.java | Adds polymorphic deserialization test for invocation passthrough delta event. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/RtcCallSdpEventsTest.java | Adds tests for WebRTC SDP negotiation client/server events and error payload. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/InputTextStreamingEventsTest.java | Adds tests for streaming input text client events and polymorphic parsing. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/AzureRealtimeNativeVoiceTest.java | Adds tests for new Azure realtime native voice models and known enum values. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/AvatarAndAudioBufferEventsTest.java | Adds tests for new output audio buffer lifecycle server events. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/models/AudioEchoCancellationTest.java | Adds tests for new echo cancellation referenceSource and channels behavior. |
| sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/livetests/VoiceLiveSessionTests.java | Adds live tests validating server echo behavior for reasoning effort and interim response config. |
|
No pipelines are associated with this pull request. |
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
|
No pipelines are associated with this pull request. |
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
|
No pipelines are associated with this pull request. |
Member
Author
|
/azp run python - azure-ai-voicelive - tests |
|
No pipelines are associated with this pull request. |
emilyjiji
approved these changes
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines