@svta/common-media-library
Version:
A common library for media playback in JavaScript
14 lines • 516 B
TypeScript
import type { SelectionSet } from '../../types/model/SelectionSet.js';
import type { Track } from '../../types/model/Track.js';
/**
* Get a list of Tracks contained on a SelectionSet
*
* @param selectionSet - SelectionSet object from HAM
* @param predicate - Filtering function
* @returns Track[]
*
* @group CMAF
* @alpha
*/
export declare function getTracksFromSelectionSet(selectionSet: SelectionSet, predicate?: (track: Track) => boolean): Track[];
//# sourceMappingURL=getTracksFromSelectionSet.d.ts.map