playlistStreams() function

Filters a context to only the playlist streams within it

Signature:

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

Parameters

Parameter Type Description

streams

readonly StreamMetadata[]

The media context from which to return the streams

Returns:

The playlist streams in the media context