Mirrors the Gemini Live local-VAD example for OpenAI Realtime, showing that `wait_for_transcript_to_end_user_turn=False` composes cleanly with `turn_detection=False`. The OpenAI Realtime service already wires `UserStoppedSpeakingFrame` to `input_audio_buffer.commit` + `response.create` when `turn_detection=False`, so the example is the only new code needed.
2 lines
459 B
Markdown
2 lines
459 B
Markdown
- The `wait_for_transcript_to_end_user_turn=False` pattern also works with OpenAI Realtime. Set `turn_detection=False` inside `OpenAIRealtimeLLMService.Settings.session_properties.audio.input` to disable OpenAI's server-side VAD; the service then drives turn boundaries from local turn detection, sending `input_audio_buffer.commit` + `response.create` on `UserStoppedSpeakingFrame`. See `examples/realtime/realtime-openai-local-vad.py` for the full pattern.
|