subtitleStreams() function
Filters a context to only the subtitle streams within it
Signature:
export declare function subtitleStreams(streams: readonly StreamMetadata[]): StreamMetadata[];Parameters
| Parameter | Type | Description | 
|---|---|---|
| streams | readonly StreamMetadata[] | The media context from which to return the streams | 
Returns:
The subtitle streams in the media context