This commit is contained in:
Horis
2024-09-06 16:22:47 +08:00
parent c5b978b442
commit c131f6da9d
@@ -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()