Skip to main content

Overview

Real-time STT streaming allows you to transcribe audio as it’s being recorded, providing immediate feedback to users. This is essential for voice interfaces where low latency is critical.

Basic Usage

API Reference

startSTTStream

Start a streaming transcription session.

Configuration

Session Methods

Examples

Real-Time Microphone Transcription

LiveTranscription.tsx

With VAD Integration

When VAD is enabled, the stream automatically detects speech segments:

Custom Hook

useSTTStream.ts

Performance Considerations

Feed audio in chunks of 100-500ms for optimal balance between latency and accuracy. Too small chunks increase overhead; too large chunks increase perceived latency.

Optimal Chunk Size

Buffer Management

Error Handling

Transcribe

Batch transcription

STT Options

Configuration options

VAD

Voice Activity Detection

Voice Agent

Full voice pipeline