Skip to content

HlsMediaStoreSettings

Source code in docs_src/capo_medialive/types/hls_media_store_settings.py
class HlsMediaStoreSettings(TypedDict, closed=True):
    connection_retry_interval: NotRequired[
        "capo_medialive.types.__integer_min0.__integerMin0"
    ]
    """Number of seconds to wait before retrying connection to the CDN if the connection is lost."""
    filecache_duration: NotRequired[
        "capo_medialive.types.__integer_min0_max600.__integerMin0Max600"
    ]
    """Size in seconds of file cache for streaming outputs."""
    media_store_storage_class: NotRequired[
        "capo_medialive.types.hls_media_store_storage_class.HlsMediaStoreStorageClass"
    ]
    """When set to temporal, output files are stored in non-persistent memory for faster reading and writing."""
    num_retries: NotRequired["capo_medialive.types.__integer_min0.__integerMin0"]
    """Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3."""
    restart_delay: NotRequired[
        "capo_medialive.types.__integer_min0_max15.__integerMin0Max15"
    ]
    """If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart."""

connection_retry_interval instance-attribute

connection_retry_interval: NotRequired[__integerMin0]

Number of seconds to wait before retrying connection to the CDN if the connection is lost.

filecache_duration instance-attribute

filecache_duration: NotRequired[__integerMin0Max600]

Size in seconds of file cache for streaming outputs.

media_store_storage_class instance-attribute

media_store_storage_class: NotRequired[HlsMediaStoreStorageClass]

When set to temporal, output files are stored in non-persistent memory for faster reading and writing.

num_retries instance-attribute

num_retries: NotRequired[__integerMin0]

Number of retry attempts that will be made before the Live Event is put into an error state. Applies only if the CDN destination URI begins with "s3" or "mediastore". For other URIs, the value is always 3.

restart_delay instance-attribute

restart_delay: NotRequired[__integerMin0Max15]

If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.