UNPKG

@svta/common-media-library

Version:
21 lines 603 B
import type { Presentation } from '../../types/model/Presentation.js'; /** * Convert dash manifest into a ham object. * * @example * Example on how to import the cmaf module and convert the dash `manifest` * into the ham manifest. * ```ts * import cmaf from '@svta/common-media-library/cmaf-ham'; * * const manifest = cmaf.dashToHam(dashManifest); * ``` * * @param manifest - String of the XML Dash manifest * @returns List of presentations from ham * * @group CMAF * @alpha */ export declare function dashToHam(manifest: string): Presentation[]; //# sourceMappingURL=dashToHam.d.ts.map