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