Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TextStream

import type { TextStream } from "https://googleapis.deno.dev/v1/transcoder:v1.ts";

Encoding of a text stream. For example, closed captions or subtitles.

interface TextStream {
codec?: string;
displayName?: string;
languageCode?: string;
mapping?: TextMapping[];
}

§Properties

§
codec?: string
[src]

The codec for this text stream. The default is webvtt. Supported text codecs: - srt - ttml - cea608 - cea708 - webvtt

§
displayName?: string
[src]

The name for this particular text stream that will be added to the HLS/DASH manifest. Not supported in MP4 files.

§
languageCode?: string
[src]

The BCP-47 language code, such as en-US or sr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not supported in MP4 files.

§
mapping?: TextMapping[]
[src]

The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.