CmafWebVttOutputSettings interface

Settings for a CMAF WebVTT Output see NorskOutput.cmafWebVtt()

Signature:

export interface CmafWebVttOutputSettings extends SinkNodeSettings<CmafWebVttOutputNode>

Properties

Property Type Description

destinations

CmafDestinationSettings[]

A list of destinations CmafDestinationSettings for this stream to be published to

discontinuityMode?

PlaylistDiscontinuityMode

(Optional) How to handle discontinuities in the media playlist. When set to "discontinuity", honours any discontinuities present in the stream by generating EXT-X-DISCONTINUITY tags. When set to "gap" (default), ignores discontinuities and uses EXT-X-GAP tags instead. Only set to "discontinuity" when all streams in a multi-variant playlist have been processed through StreamSync or come from the same source to ensure synchronized discontinuities across all renditions.

maximumPlaylistPushIntervalMs?

number

(Optional) Maximum elapsed duration since last playlist push before initiating a new playlist push with the existing playlist data. This can be used to ensure a remote system views the playlist as "alive" though no data may be flowing due to intermittent media. The actual gap may be longer if a segment push occurs when a playlist would be pushed. Default: No playlists re-pushed ever.

name?

string

(Optional) The name to use for the playlist in a multivariant playlist

pdtEverySegment?

boolean

(Optional) Whether to insert a program date-time directive on every segment. Not required to produce spec-compliant playlists, but may be useful for inspection or playlist manipulation

pdtSource?

PdtSource

(Optional) What source to use for the program-date-time

playlistFormat?

CmafPlaylistFormat

(Optional) Playlist format(s) to generate

renditionGroupId?

string

(Optional) When generating LL-HLS playlists, include rendition reports for all streams that share this renditionGroupId

segmentDurationSeconds

number

The target segment duration in seconds, Norsk will split subtitles over multiple segments in a compliant manner if necessary