Skip to content

fix(voice): scope forwardAudio playback-started listener to its own segment - #1786

Merged
chenghao-mou merged 2 commits into
mainfrom
chenghao/fix/forward-audio-playback-started-to-main
Jun 12, 2026
Merged

fix(voice): scope forwardAudio playback-started listener to its own segment#1786
chenghao-mou merged 2 commits into
mainfrom
chenghao/fix/forward-audio-playback-started-to-main

Conversation

@chenghao-mou

Copy link
Copy Markdown
Member

Backport of #1760 (originally merged into the 1.5.0 branch) to main.

Cherry-picks ec765eaa: scopes the forwardAudio playback-started listener to its own audio segment, preventing a listener registered for one segment from firing on a later one.

Clean cherry-pick onto main (auto-merged generation.ts, no conflicts). No public export surface change. Changeset scope-forward-audio-playback-started.md carried over. New regression coverage in generation_tts_timeout.test.ts passes.

🤖 Generated with Claude Code

…egment (#1760)

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot

changeset-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b3cea39

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 35 packages
Name Type
@livekit/agents Patch
@livekit/agents-plugin-anam Patch
@livekit/agents-plugin-assemblyai Patch
@livekit/agents-plugin-baseten Patch
@livekit/agents-plugin-bey Patch
@livekit/agents-plugin-cartesia Patch
@livekit/agents-plugin-cerebras Patch
@livekit/agents-plugin-deepgram Patch
@livekit/agents-plugin-did Patch
@livekit/agents-plugin-elevenlabs Patch
@livekit/agents-plugin-fishaudio Patch
@livekit/agents-plugin-google Patch
@livekit/agents-plugin-hedra Patch
@livekit/agents-plugin-hume Patch
@livekit/agents-plugin-inworld Patch
@livekit/agents-plugin-lemonslice Patch
@livekit/agents-plugin-liveavatar Patch
@livekit/agents-plugin-livekit Patch
@livekit/agents-plugin-minimax Patch
@livekit/agents-plugin-mistral Patch
@livekit/agents-plugin-mistralai Patch
@livekit/agents-plugin-neuphonic Patch
@livekit/agents-plugin-openai Patch
@livekit/agents-plugin-perplexity Patch
@livekit/agents-plugin-phonic Patch
@livekit/agents-plugin-resemble Patch
@livekit/agents-plugin-rime Patch
@livekit/agents-plugin-runway Patch
@livekit/agents-plugin-sarvam Patch
@livekit/agents-plugin-silero Patch
@livekit/agents-plugin-soniox Patch
@livekit/agents-plugin-tavus Patch
@livekit/agents-plugins-test Patch
@livekit/agents-plugin-trugen Patch
@livekit/agents-plugin-xai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Comment thread agents/src/voice/generation.ts Outdated
@chenghao-mou
chenghao-mou merged commit 97e17e3 into main Jun 12, 2026
9 checks passed
@chenghao-mou
chenghao-mou deleted the chenghao/fix/forward-audio-playback-started-to-main branch June 12, 2026 17:14
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