Module Values.CmafPackageSource

A Common Media Application Format (CMAF) packaging configuration.

Sourcetype nonrec t = {
  1. encryption : CmafEncryption.t option;
  2. hlsManifests : HlsManifest.t list option;
    (*

    A list of HLS manifest configurations

    *)
  3. segmentDurationSeconds : int option;
    (*

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

    *)
  4. segmentPrefix : string option;
    (*

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

    *)
  5. streamSelection : StreamSelection.t option;
}
Sourceval make : ?encryption:??? -> ?hlsManifests:??? -> ?segmentDurationSeconds:??? -> ?segmentPrefix:??? -> ?streamSelection:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of int | `List of [> `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `List of [> `Enum of string ] list | `String of string ]) list ] list | `String of string | `Structure of (string * [> `Enum of string | `Integer of int | `String of string | `Structure of (string * [> `List of [> `String of string ] list | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t