?
createVoiceClient
Creates the realtime voice client (imported from the /voice subpath).
createVoiceClient() → VoiceClient
The entry point for voice, imported from the /voice subpath so apps that never use it bundle none of it (the realtime transport dependency loads only on the first session). It returns a client for starting live sessions and reading past call records.
Usage
import { createVoiceClient } from '@mindstudio-ai/interface/voice'; const voice = createVoiceClient(); const session = await voice.startSession();