Skip to content

CmafPackage

Source code in docs_src/capo_mediapackage/types/cmaf_package.py
class CmafPackage(TypedDict, closed=True):
    encryption: NotRequired["capo_mediapackage.types.cmaf_encryption.CmafEncryption"]
    hls_manifests: NotRequired[
        "capo_mediapackage.types.__list_of_hls_manifest.__listOfHlsManifest"
    ]
    """A list of HLS manifest configurations"""
    segment_duration_seconds: NotRequired["capo_mediapackage.types.__integer.__integer"]
    """Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration."""
    segment_prefix: NotRequired["capo_mediapackage.types.__string.__string"]
    """An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId."""
    stream_selection: NotRequired[
        "capo_mediapackage.types.stream_selection.StreamSelection"
    ]

encryption instance-attribute

encryption: NotRequired[CmafEncryption]

hls_manifests instance-attribute

hls_manifests: NotRequired[__listOfHlsManifest]

A list of HLS manifest configurations

segment_duration_seconds instance-attribute

segment_duration_seconds: NotRequired[__integer]

Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

segment_prefix instance-attribute

segment_prefix: NotRequired[__string]

An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.

stream_selection instance-attribute

stream_selection: NotRequired[StreamSelection]