importSubtitleTrack
importSubtitleTrack(
builder,options):ImportSubtitleResult
Defined in: packages/sdk/src/subtitle-io.ts:65
Import an SRT or WebVTT document into a caption track. Every cue becomes a caption clip with its timeline range and text; parse or range failures fail closed without mutating the builder.