Skip to content

[codex] Fix repeated TTS playback - #1529

Draft
devashishmamgain wants to merge 1 commit into
masterfrom
codex/tdh-269-tts-dedupe
Draft

[codex] Fix repeated TTS playback#1529
devashishmamgain wants to merge 1 commit into
masterfrom
codex/tdh-269-tts-dedupe

Conversation

@devashishmamgain

@devashishmamgain devashishmamgain commented May 30, 2026

Copy link
Copy Markdown
Collaborator

Jira

Summary

  • Add a short-lived voice-output message tracker keyed by message key or timestamp fallback.
  • Skip repeated TTS playback when the same incoming message is delivered multiple times.

Root Cause

Duplicate delivery of the same bot message could call the native speech synthesis path repeatedly, causing the same response to be spoken 3-4 times.

Validation

  • node --check webplugin/js/app/media/media-service.js
  • git diff --check

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.

1 participant