• Alpha

    Convert ham object into a hls manifest.

    Parameters

    Returns Manifest

    Manifest object containing the Hls manifest as string and its playlists

    Example

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

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

    const manifest = cmaf.hamToHls(presentations);