yzx 1 dzień temu
rodzic
commit
ffa20691dc
1 zmienionych plików z 10 dodań i 0 usunięć
  1. 10 0
      src/main/java/com/telerobot/fs/robot/RobotChat.java

+ 10 - 0
src/main/java/com/telerobot/fs/robot/RobotChat.java

@@ -401,6 +401,16 @@ public class RobotChat extends RobotBase {
                 "TtsEvent".equalsIgnoreCase(eventSubClass)
         )) {
            String event = headers.get("Tts-Event-Detail");
+           // #region debug-point vt-tts-custom-event-detail
+           logger.info("{} dbg_vt_tts_custom eventSubClass={}, event={}, errorDetails={}, recvPlayBackEndEvent={}, ttsChannelClosed={}, inSpeaking={}",
+                   getTraceId(),
+                   eventSubClass,
+                   event,
+                   headers.get("Error-Details"),
+                   recvPlayBackEndEvent,
+                   ttsChannelClosed,
+                   interactiveParam.checkInSpeaking());
+           // #endregion
            if("Speech-Closed".equalsIgnoreCase(event)){
                chatRobot.setTtsChannelState(TtsChannelState.CLOSED);
                logger.info("{}  TtsChannelClosed = true.", getTraceId());