dify icon indicating copy to clipboard operation
dify copied to clipboard

Text to speech not working

Open perzeuss opened this issue 1 week ago • 1 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Cloud

Steps to reproduce

  1. Create empty chatflow
  2. Open the UI to enable tts feature
  3. click the play button for voice example Image

Can also be reproduced by clicking the play icon button on normal chat messages.

✔️ Expected Behavior

Dify plays audio file

❌ Actual Behavior

Infinite loading spinner Console logs:

Uncaught DOMException: MediaSource.addSourceBuffer: Type not supported in MediaSource
Cannot play media. No decoders for requested formats: audio/mpeg

perzeuss avatar Feb 15 '25 02:02 perzeuss