Module Values.EncryptionContractConfigurationSource

Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.

Sourcetype nonrec t = {
  1. presetSpeke20Audio : PresetSpeke20Audio.t;
    (*

    A collection of audio encryption presets.

    *)
  2. presetSpeke20Video : PresetSpeke20Video.t;
    (*

    A collection of video encryption presets.

    *)
}
Sourceval context_ : string
Sourceval make : presetSpeke20Audio:PresetSpeke20Audio.t -> presetSpeke20Video:PresetSpeke20Video.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string ]) 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