Repository navigation
Feature: add qwen audio live sdk - #289
Closed
songguocola wants to merge 2 commits into
Closed
songguocola wants to merge 2 commits into
songguocola wants to merge 2 commits into
Conversation
Add com.alibaba.dashscope.audio.live: QwenLiveConversation WebSocket session with single-connect lifecycle, connection/session config (QwenLiveConnectionParam, QwenLiveSessionConfig), client/responses delegation, byte[] audio input, unified onError with optional ordered async callback dispatch, and close/cancel/awaitSessionClosed semantics. Include protocol/conversation/config/param unit tests and quick-start and usage samples. QwenLiveConnectionParam reuses the existing DASHSCOPE_WEBSOCKET_OMNI_BASE_URL env override.
Add an audio field to VoiceEnrollmentParam so create_voice/update_voice can submit a base64 audio data URI (data:audio/wav;base64,...) in addition to the existing url; validate() now accepts either url or audio. Add createVoiceWithAudio/updateVoiceWithAudio overloads on VoiceEnrollmentService and pass customParam.audio through the existing methods. Existing url-based calls are unchanged. Covered by TestVoiceEnrollment.
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.
No description provided.