A single transcribed segment emitted by AudioTranscriber.
Signature:
export declare interface TranscriptionSegment
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| transcript | string | The transcribed text for this segment. | |
| isFinal | boolean | Whether this segment is finalized (as opposed to an interim hypothesis). | |
| fromTimestampMs | number | Start timestamp of the segment in milliseconds. | |
| toTimestampMs | number | End timestamp of the segment in milliseconds. |
TranscriptionSegment.transcript
The transcribed text for this segment.
Signature:
transcript: string;
TranscriptionSegment.isFinal
Whether this segment is finalized (as opposed to an interim hypothesis).
Signature:
isFinal: boolean;
TranscriptionSegment.fromTimestampMs
Start timestamp of the segment in milliseconds.
Signature:
fromTimestampMs: number;
TranscriptionSegment.toTimestampMs
End timestamp of the segment in milliseconds.
Signature:
toTimestampMs: number;