Skip to content

Commit 7cb12a9

Browse files
authored
feat(realtime): add support for target streaming delay in realtime transcription (#376)
* feat(realtime): add support for target streaming delay in realtime transcription This commit introduces the ability to specify a target streaming delay in milliseconds for realtime transcription sessions. The changes include: 1. Adding a new parameter `target_streaming_delay_ms` to the realtime transcription API 2. Updating the connection management to handle the new delay parameter 3. Adding support for audio flushing to ensure proper handling of streaming delays 4. Creating a new example demonstrating dual-delay transcription with two parallel streams 5. Improving error handling for microphone access and PyAudio loading The changes allow for more precise control over the latency/accuracy tradeoff in realtime transcription, enabling use cases that require different streaming delays for different purposes. * ci: skip dual-delay realtime example in run_examples
1 parent 3eaedb4 commit 7cb12a9

File tree

7 files changed

+600
-23
lines changed

7 files changed

+600
-23
lines changed

0 commit comments

Comments
 (0)