STT流式输入业务逻辑处理
This commit is contained in:
@@ -81,8 +81,8 @@ public class RealtimeTranscriptionMicrophone {
|
||||
}
|
||||
|
||||
// 3. 提交音频并请求转录
|
||||
webSocket.send("{\"type\": \"input_audio_buffer.commit\"}");
|
||||
webSocket.send("{\"type\": \"response.create\"}");
|
||||
// webSocket.send("{\"type\": \"input_audio_buffer.commit\"}");
|
||||
// webSocket.send("{\"type\": \"response.create\"}");
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user