Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom tts vendor cached file can not be played #98

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

xquanluu
Copy link
Contributor

@xquanluu xquanluu commented Nov 4, 2024

To fix issue:

Custom TTS vendor supports multiple mime types such as mp3, wav, r8, r16 ..etc
The mime types is identified by http response Content-type header.

Speech utils reads audio from cache and assigns r8 or mp3 (depends on JAMBONES_DISABLE_TTS_STREAMING configuration) which does not match with the mime types in Content-type.

@xquanluu
Copy link
Contributor Author

xquanluu commented Nov 4, 2024

Tested and it's workring on jambonz.me

@vdharashive
Copy link

@xquanluu can I test it ?

@davehorton davehorton merged commit 84089fa into main Nov 4, 2024
2 checks passed
@davehorton davehorton deleted the fix/freshdesk_411 branch November 4, 2024 12:37
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.

3 participants