Skip to content

ImportSubtitleOptions

Defined in: packages/sdk/src/subtitle-io.ts:33

Options for importing a subtitle document into a caption track.

readonly optional alignToSilence: readonly object[]

Defined in: packages/sdk/src/subtitle-io.ts:38

Align every cue start so it does not begin inside a silent audio range.


readonly optional atUs: number

Defined in: packages/sdk/src/subtitle-io.ts:43

Timeline offset added to every imported cue. Defaults to zero.


readonly format: SubtitleFormat

Defined in: packages/sdk/src/subtitle-io.ts:36


readonly text: string

Defined in: packages/sdk/src/subtitle-io.ts:35


readonly trackId: string

Defined in: packages/sdk/src/subtitle-io.ts:34