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