Skip to content

feat:add qwen live sdk - #290

Merged
luk384090-cloud merged 3 commits into
dashscope:mainfrom
songguocola:feature/qwen-live-sdk
Nov 11, 2026
Merged

luk384090-cloud merged 3 commits into
dashscope:mainfrom
songguocola:feature/qwen-live-sdk

Conversation

@songguocola

Copy link
Copy Markdown
Contributor

No description provided.

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.
…RL env

close() now always completes with a single onClose callback: the client no
longer cancels the socket when echoing the close frame is rejected, and a
transport failure during a pending close delivers the requested close code
instead of being silently dropped. cancel() stays silent.

Qwen Live reads DASHSCOPE_WEBSOCKET_QWEN_LIVE_BASE_URL instead of sharing
the Omni variable, so overriding one endpoint no longer redirects the other.
@luk384090-cloud
luk384090-cloud merged commit b847f41 into dashscope:main Nov 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants