subtitleStreamKeys() function

Returns the stream keys for subtitle streams in a media context

Signature:

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

Parameters

Parameter Type Description

streams

readonly StreamMetadata[]

The media context from which to return the stream keys

Returns:

The subtitle stream keys in the media context