STT流式输入业务逻辑处理
This commit is contained in:
@@ -196,6 +196,7 @@ public class ChatWebSocketHandler {
|
||||
//接收到数据流后直接就进行SST处理
|
||||
//发送消息
|
||||
WebSocket webSocket = cacheWebSocket.get(clientId);
|
||||
log.info("获取的socket对象为:{}",webSocket);
|
||||
if(webSocket != null){
|
||||
// 1. 启动音频缓冲
|
||||
webSocket.send("{\"type\": \"input_audio_buffer.start\"}");
|
||||
|
||||
Reference in New Issue
Block a user