Function: dashToHam()
ts
function dashToHam(manifest): Presentation[];Defined in: services/converters/dashToHam.ts:24
Alpha
Convert dash manifest into a ham object.
Parameters
manifest
string
String of the XML Dash manifest
Returns
List of presentations from ham
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);