@svta/common-media-library
    Preparing search index...

    Function dashToHam

    • Alpha

      Convert dash manifest into a ham object.

      Parameters

      • manifest: string

        String of the XML Dash manifest

      Returns Presentation[]

      List of presentations from ham

      Example on how to import the cmaf module and convert the dash manifest into the ham manifest.

      import cmaf from '@svta/common-media-library/cmaf-ham';

      const manifest = cmaf.dashToHam(dashManifest);