Browse Source

3.0 optimize:ASR event 返回麦克风已开启/已关闭

xwh 1 month ago
parent
commit
7ea4f61642
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib_asr/src/main/java/com/hh/lib_asr/ASRInvoker.java

+ 2 - 0
lib_asr/src/main/java/com/hh/lib_asr/ASRInvoker.java

@@ -97,6 +97,7 @@ public class ASRInvoker {
                     UploadLogUtils.sendLogs(Constants.LogcatValue.LOG_ASR,
                             "",logLine
                             ,"⻨克⻛已开启---");
+                    initASRCallBackJson("asrRecordStart","⻨克⻛已开启");
                 }
 
                 @Override
@@ -118,6 +119,7 @@ public class ASRInvoker {
                     UploadLogUtils.sendLogs(Constants.LogcatValue.LOG_ASR,
                             "",logLine
                             ,"⻨克⻛已关闭---");
+                    initASRCallBackJson("asrRecordEnd","⻨克⻛已关闭");
                 }
 
                 @Override