Module Values.HlsEncryptionSettingsSource

Settings for HLS encryption

Sourcetype nonrec t = {
  1. constantInitializationVector : string option;
    (*

    This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not set then the Initialization Vector will follow the segment number by default.

    *)
  2. encryptionMethod : HlsEncryptionType.t option;
    (*

    Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in the web interface also disables encryption.

    *)
  3. initializationVectorInManifest : HlsInitializationVectorInManifest.t option;
    (*

    The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in the manifest.

    *)
  4. offlineEncrypted : HlsOfflineEncrypted.t option;
    (*

    Enable this setting to insert the EXT-X-SESSION-KEY element into the master playlist. This allows for offline Apple HLS FairPlay content protection.

    *)
  5. spekeKeyProvider : SpekeKeyProvider.t option;
    (*

    If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.

    *)
  6. staticKeyProvider : StaticKeyProvider.t option;
    (*

    Use these settings to set up encryption with a static key provider.

    *)
  7. type_ : HlsKeyProviderType.t option;
    (*

    Specify whether your DRM encryption key is static or from a key provider that follows the SPEKE standard. For more information about SPEKE, see https://docs.aws.amazon.com/speke/latest/documentation/what-is-speke.html.

    *)
}
Sourceval make : ?constantInitializationVector:??? -> ?encryptionMethod:??? -> ?initializationVectorInManifest:??? -> ?offlineEncrypted:??? -> ?spekeKeyProvider:??? -> ?staticKeyProvider:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of string | `Structure of (string * [> `List of [> `String of string ] list | `String of string | `Structure of (string * [> `Enum of string ]) 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