Skip to content

Commit b38f1e1

Browse files
committed
update:检查stt服务复用问题
1 parent b346bbd commit b38f1e1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/com/xiaozhi/dialogue/service/DialogueService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,6 @@ private void startStt(
349349
sessionManager.setStreamingState(sessionId, true);
350350

351351
// 获取STT服务
352-
// TODO 需要检查并发下,是否会同一个实例并发发送音频,导致识别错误
353-
// TODO 是否要增加deviceId来针对每个设备做一个实例缓存
354352
SttService sttService = sttFactory.getSttService(sttConfig);
355353
if (sttService == null) {
356354
logger.error("无法获取STT服务 - Provider: {}", sttConfig != null ? sttConfig.getProvider() : "null");

0 commit comments

Comments
 (0)