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

    Function hamToDash

    • Alpha

      Convert HAM object into Dash Manifest.

      Parameters

      Returns Manifest

      Manifest object containing the Dash manifest as string

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

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

      const manifest = cmaf.hamToDash(presentations);