fix playht has stream and cached audio differrent quality

This commit is contained in:
Quan HL
2024-09-16 09:01:45 +07:00
parent 8f216e64d8
commit 8016c0886a

View File

@@ -48,6 +48,8 @@ function getFileExtension({vendor, renderForCaching = false}) {
case 'deepgram':
case 'elevenlabs':
case 'rimlabs':
case 'playht':
case vendor.startsWith('custom') ? vendor : 'cant_match_value':
if (!renderForCaching && !JAMBONES_DISABLE_TTS_STREAMING) {
return r8Extension;
} else {