Skip to content

[VoiceLive] Update for API version 2026-07-15#49771

Open
xitzhang wants to merge 11 commits into
mainfrom
xitzhang/vl_20260715
Open

[VoiceLive] Update for API version 2026-07-15#49771
xitzhang wants to merge 11 commits into
mainfrom
xitzhang/vl_20260715

Conversation

@xitzhang

@xitzhang xitzhang commented Jul 9, 2026

Copy link
Copy Markdown
Member
  • Add VoiceLiveServiceVersion.V2026_07_15 and make it the default (getLatest); keep V2026_04_10 available

  • Regenerate against 2026-07-15 GA TypeSpec (drops preview-only WebRTC SDP, output audio buffer lifecycle, smart end-of-turn detection)

  • Remove orphaned unit tests for dropped types; trim AvatarAndAudioBufferEventsTest

  • Bump version to 1.1.0 (GA); update CHANGELOG, samples, and live/unit tests

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.

- Add VoiceLiveServiceVersion.V2026_07_15 and make it the default (getLatest); keep V2026_04_10 available

- Regenerate against 2026-07-15 GA TypeSpec (drops preview-only WebRTC SDP, output audio buffer lifecycle, smart end-of-turn detection)

- Remove orphaned unit tests for dropped types; trim AvatarAndAudioBufferEventsTest

- Bump version to 1.1.0 (GA); update CHANGELOG, samples, and live/unit tests
Copilot AI review requested due to automatic review settings July 9, 2026 21:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the azure-ai-voicelive library to the 2026-07-15 GA VoiceLive TypeSpec, promoting the package to GA (1.1.0) and aligning generated models/events and tests with the new service surface (including removal of preview-only features).

Changes:

  • Added VoiceLiveServiceVersion.V2026_07_15 and made it the default (getLatest()), updating samples and tests accordingly.
  • Regenerated the SDK against the 2026-07-15 GA TypeSpec, removing dropped preview-only models/events and trimming related unit tests.
  • Added support for the server-assigned session expiration field (expires_at) in VoiceLiveSessionResponse JSON (de)serialization.

Reviewed changes

Copilot reviewed 30 out of 30 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 TypeSpec source commit to regenerate from the 2026-07-15 GA spec.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/unit/VoiceLiveClientBuilderTest.java Updates unit tests to use the new default service version enum value.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/unit/models/SmartEndOfTurnDetectionTest.java Removes unit tests for a dropped model type.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/unit/models/RtcCallSdpEventsTest.java Removes unit tests for dropped WebRTC SDP negotiation event types.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/unit/models/AvatarAndAudioBufferEventsTest.java Trims tests tied to removed output audio buffer lifecycle server events.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/live/VoiceLiveTurnDetectionTests.java Updates live-test documentation/comments to reflect the new GA API version.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/live/VoiceLiveTranscriptionTests.java Updates API-version commentary to match 2026-07-15.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/live/VoiceLiveToolCallTests.java Updates live-test documentation/comments to reflect the new GA API version.
sdk/voicelive/azure-ai-voicelive/src/test/java/com/azure/ai/voicelive/live/VoiceLiveTestBase.java Updates the set of API versions exercised by parameterized live tests.
sdk/voicelive/azure-ai-voicelive/src/samples/java/com/azure/ai/voicelive/McpSample.java Updates sample to pin to the new GA service version.
sdk/voicelive/azure-ai-voicelive/src/samples/java/com/azure/ai/voicelive/AgentV2Sample.java Updates sample to pin to the new GA service version.
sdk/voicelive/azure-ai-voicelive/src/main/resources/META-INF/azure-ai-voicelive_metadata.json Updates generated metadata to reflect the new GA API version and regenerated surfaces.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/VoiceLiveServiceVersion.java Adds V2026_07_15 and updates getLatest() to return it.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/VoiceLiveSessionResponse.java Adds expires_at JSON (de)serialization and exposes expiresAt accessor/mutator.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/SmartEndOfTurnDetection.java Removes a dropped model type from the generated surface.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/SessionServerEvent.java Removes discriminator handling for dropped server event types.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/SessionClientEvent.java Removes discriminator handling for the dropped WebRTC SDP client event type.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventType.java Removes expandable-enum values for dropped server event types.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventRtcCallSdpCreated.java Removes a dropped server event model.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventRtcCallError.java Removes a dropped server event model.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventOutputAudioBufferStopped.java Removes a dropped server event model.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ServerEventOutputAudioBufferStarted.java Removes a dropped server event model.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/RtcCallErrorDetails.java Removes a dropped model type used by removed RTC error events.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ResponseCreateParams.java Updates documentation to reflect hosted-agent invocation no longer being labeled preview.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/EouDetectionModel.java Removes the static model discriminator value for the dropped EOU variant.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/EouDetection.java Removes discriminator branch for the dropped smart_end_of_turn_detection variant.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ClientEventType.java Removes the expandable-enum value for the dropped RTC SDP client event.
sdk/voicelive/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/models/ClientEventRtcCallSdpCreate.java Removes a dropped client event model.
sdk/voicelive/azure-ai-voicelive/pom.xml Bumps the package version from 1.1.0-beta.2 to 1.1.0 (GA).
sdk/voicelive/azure-ai-voicelive/CHANGELOG.md Updates the unreleased section to 1.1.0 and documents new GA features and regeneration.

Comment thread sdk/voicelive/azure-ai-voicelive/CHANGELOG.md Outdated
Xiting Zhang added 2 commits July 9, 2026 14:10
- Add VoiceLiveServiceVersion.V2026_07_15 and make it the default (getLatest); keep V2026_04_10 available

- Regenerate against 2026-07-15 GA TypeSpec (drops preview-only WebRTC SDP, output audio buffer lifecycle, smart end-of-turn detection)

- Remove orphaned unit tests for dropped types; trim AvatarAndAudioBufferEventsTest

- Bump version to 1.1.0 (GA); update CHANGELOG, samples, and live/unit tests
@xitzhang

xitzhang commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

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

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Xiting Zhang added 8 commits July 9, 2026 15:29
Regenerate VoiceLiveSessionResponse so getExpiresAt/setExpiresAt use OffsetDateTime (wire format remains epoch seconds). Fix CHANGELOG signature note and add VoiceLiveSessionExpirationTest covering getter/setter, null handling, and JSON round-trip.
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.

2 participants