适配极速模式下的文字返回 3351/2
authorhcj <1224667075@qq.com>
Sat, 18 Apr 2026 09:42:27 +0000 (17:42 +0800)
committerhcj <1224667075@qq.com>
Sat, 18 Apr 2026 09:42:27 +0000 (17:42 +0800)
code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c

index 73ec355..bbde5b2 100644 (file)
@@ -1188,6 +1188,11 @@ static void ai_binary_message_handler(const uint8_t *raw_data, uint32_t timestam
         LN_WS_WARN("Chat ID not matched\n");
         return;
     }
+    if(false==is_chat_id_matched() && g_audio_playback_active==false && g_audio_chat_ctx.finish_state == LN_CHAT_SENT_END_NO_REPLY)
+    {
+        LN_WS_DEBUG("Chat ID not matched, setting chat ID matched\n");
+        set_chat_id_matched();
+    }
 
     if (!raw_data || data_len == 0) {
         LN_WS_ERROR("Invalid binary data parameters\n");