Skip to main content

transcribeStream

Signature

Building the audio iterable

Anything that yields AudioInput values works. From a recorder that hands you buffers:
The queue-and-notify pattern is what bridges a callback-based recorder to an async generator without dropping frames.

Stopping

Break out of the loop, then stop the recorder:

AudioCaptureManager

@runanywhere/core also exports AudioCaptureManager and AudioPlaybackManager, which wrap the native audio path used by the voice session. If you are building a live transcription screen rather than a full conversation, they save you writing the bridge above.