InspectSubtitleChunk interface
Signature:
export interface InspectSubtitleChunk
Properties
| Property | Type | Description |
|---|---|---|
When the subtitle has individually timed fragments (words or short chunks) such as a transcription result, the result fragments |
||
boolean |
Whether the subtitle chunk is "complete" or may later be revised. The chunk need not be a full sentence/utterance to be complete, but a partial chunk is one which may later be extended/revised a number of times |
|
If the stream is a Teletext caption/subtitle, this is a representation of the source page containing some layout, colouring, ect info |
||
string |
The full text contained in this chunk, which may not be split or formatted as for final output yet - to observe this insert a SubtitleConvert |
|
{ text: string; mediatime_ms: number; } |
(Optional) If the stream is TTML - full source of that TTML document. Note this will generally represent a single cue or ISD |