zhoufan месяцев назад: 7
Родитель
Сommit
d46159711a

+ 7 - 1
midware-service/src/main/java/midware/service/eslclient/EslEventListenerAi.java

@@ -106,7 +106,13 @@ public class EslEventListenerAi implements IEslEventListener {
106 106
         String zw = text.replaceAll("[^\\u4e00-\\u9fa5]", "");
107 107
         if (text.contains("人工")) {//人工
108 108
             stopAsr(chanId, eslClientService);
109
-            eslClientService.transferQueue(chanId);
109
+            eslClientService.playBack("/home/wav/zyyt/转人工.wav", chanId);
110
+            try {
111
+                Thread.sleep(3000);
112
+                eslClientService.transferQueue(chanId);
113
+            } catch (InterruptedException e) {
114
+                throw new RuntimeException(e);
115
+            }
110 116
         } else if (agains.contains(zw)) {//重听
111 117
             eslClientService.playBack(EslCommon.getSessionById(chanId).getVideoPath(), chanId);
112 118
             try {