selectSubtitles() function

Select all the subtitle streams from the input

Signature:

export declare function selectSubtitles(streams: readonly StreamMetadata[]): StreamKey[];

Parameters

Parameter Type Description

streams

readonly StreamMetadata[]

The streams from the inbound Context

Returns:

Array of selected StreamKeys