Skip to content

[VoiceLive] Add changes for 2026-06-01-preview#49347

Open
xitzhang wants to merge 7 commits into
mainfrom
xitzhang/vl20260601preview
Open

[VoiceLive] Add changes for 2026-06-01-preview#49347
xitzhang wants to merge 7 commits into
mainfrom
xitzhang/vl20260601preview

Conversation

@xitzhang
Copy link
Copy Markdown
Member

@xitzhang xitzhang commented Jun 2, 2026

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:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copilot AI review requested due to automatic review settings June 2, 2026 18:21
@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented Jun 2, 2026

/azp run python - azure-ai-voicelive - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented Jun 2, 2026

/azp run python - azure-ai-voicelive - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented Jun 2, 2026

/azp run python - azure-ai-voicelive - tests

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread sdk/voicelive/azure-ai-voicelive/CHANGELOG.md
@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented Jun 2, 2026

/azp run python - azure-ai-voicelive - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented Jun 2, 2026

/azp run python - azure-ai-voicelive - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented Jun 2, 2026

/azp run python - azure-ai-voicelive - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@xitzhang xitzhang requested a review from emilyjiji June 2, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants