This commit is contained in:
Horis committed 2024-09-06 16:22:47 +08:00
1 parent 0da0153736
commit 7af6b2736a
1 file changed
+2 -1
@@ -329,7 +329,8 @@ class HttpReadAloudService : BaseReadAloudService(),
speakSpeed = speechRate, speakSpeed = speechRate,
source = httpTts, source = httpTts,
headerMapF = httpTts.getHeaderMap(true), headerMapF = httpTts.getHeaderMap(true),
readTimeout = 300 * 1000L readTimeout = 300 * 1000L,
coroutineContext = coroutineContext
) )
var response = analyzeUrl.getResponseAwait() var response = analyzeUrl.getResponseAwait()
coroutineContext.ensureActive() coroutineContext.ensureActive()