故事开始不进行打断
authorhcj <1224667075@qq.com>
Wed, 15 Oct 2025 07:31:32 +0000 (15:31 +0800)
committerhcj <1224667075@qq.com>
Wed, 15 Oct 2025 07:31:32 +0000 (15:31 +0800)
code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c

index a1ce0da..7894925 100644 (file)
@@ -695,7 +695,7 @@ static void AIVoiceDataCallback_ln(const uint8_t* data, uint32_t size, void* use
 
 static void ai_binary_message_handler(const uint8_t *raw_data, uint32_t timestamp, uint32_t data_len)
 {
-    LN_WS_DEBUG("Received binary message at %u, length: %d bytes\n", timestamp, data_len);
+    LN_WS_INFO("Received binary message at %u, length: %d bytes\n", timestamp, data_len);
     
     // 记录接收数据的时间
     g_last_binary_data_tick = osKernelGetTickCount();
@@ -927,7 +927,7 @@ int ln_ws_send_random_story_request(const char *story_theme)
         LN_WS_WARN("Cannot send random story request, connection state: %d\n", g_ws_connected);
         return -1;
     }
-    ln_ws_send_voice_chat_interrupt("故事请求开始");
+    // ln_ws_send_voice_chat_interrupt("故事请求开始");
     
     // 生成聊天ID(使用当前对话ID)
     generate_chat_id(g_audio_chat_ctx.chat_id, sizeof(g_audio_chat_ctx.chat_id));