[VoiceLive] Update for API version 2026-07-15#49771
Open
xitzhang wants to merge 11 commits into
Open
Conversation
- 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
Contributor
There was a problem hiding this comment.
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_15and made it the default (getLatest()), updating samples and tests accordingly. - Regenerated the SDK against the
2026-07-15GA TypeSpec, removing dropped preview-only models/events and trimming related unit tests. - Added support for the server-assigned session expiration field (
expires_at) inVoiceLiveSessionResponseJSON (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. |
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
…-sdk-for-java into xitzhang/vl_20260715
Member
Author
|
/azp run java - azure-ai-voicelive - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
added 8 commits
July 9, 2026 15:29
…me removed-preview note in CHANGELOG
…me removed-preview note in CHANGELOG
…-sdk-for-java into xitzhang/vl_20260715
…-sdk-for-java into xitzhang/vl_20260715
…-sdk-for-java into xitzhang/vl_20260715
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.
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.
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:
General Guidelines and Best Practices
Testing Guidelines