parseTranscriptSegment
function parseTranscriptSegment(payload): TranscriptSegment;Defined in: transcript.ts:126
Read a transcript object’s payload. Throws on a payload that is not a UTF-8 JSON object with a nonnegative
safe-integer seq and fromUs, a non-empty string track, a string text and a boolean final, or whose
untilUs, when present, is not one after fromUs, or that is final without untilUs. Other fields are ignored.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
payload |
Uint8Array |