Skip to content

fix(liveavatar): wait for connected state and chunk audio before sending#5453

Open
dyi1 wants to merge 1 commit intolivekit:mainfrom
dyi1:dyi/optimize-liveavatar-plugin
Open

fix(liveavatar): wait for connected state and chunk audio before sending#5453
dyi1 wants to merge 1 commit intolivekit:mainfrom
dyi1:dyi/optimize-liveavatar-plugin

Conversation

@dyi1
Copy link
Copy Markdown

@dyi1 dyi1 commented Apr 15, 2026

This PR makes two changes:

  1. Gate audio forwarding and keep-alive on the WebSocket session.state_updated connected event to prevent silently dropped messages.
  2. Batch audio frames into 600ms initial / 1s subsequent chunks to reduce WebSocket message overhead.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 15, 2026

CLA assistant check
All committers have signed the CLA.

@dyi1 dyi1 force-pushed the dyi/optimize-liveavatar-plugin branch from 4787f55 to 69ae5be Compare April 15, 2026 02:07
devin-ai-integration[bot]

This comment was marked as resolved.

Gate audio forwarding and keep-alive on the WebSocket session.state_updated
connected event to prevent silently dropped messages. Batch audio frames
into 600ms initial / 1s subsequent chunks to reduce WebSocket message overhead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dyi1 dyi1 force-pushed the dyi/optimize-liveavatar-plugin branch from 69ae5be to ecb7d41 Compare April 15, 2026 02:22
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