useTrackTranscription
Note
This feature is experimental and may change or be removed based on developer feedback and real-world usage.
Import
import { useTrackTranscription } from "@livekit/components-react";
Properties
how many transcription segments should be buffered in state
optional callback for retrieving newly incoming transcriptions only
Returns
An object consisting of segments
with maximum length of opts.bufferSize
{segments: ReceivedTranscriptionSegment[];}