selectVideoRendition() function

Create a selector selecting all the video streams from the input with the specified rendition name

Signature:

export declare function selectVideoRendition(renditionName: string): (streams: readonly StreamMetadata[]) => StreamKey[];

Parameters

Parameter Type Description

renditionName

string

The streams from the inbound Context

Returns:

(streams: readonly StreamMetadata[]) ⇒ StreamKey[]

Array of selected StreamKeys