| Parameter | Type | Description | Example |
|---|---|---|---|
| object | Live packaging configuration. | ||
| LiveManifestConfigs | array | Live stream manifest configuration. Only one configuration is supported. | |
| LiveManifestConfig | Live stream manifest configuration. | ||
| UseAudioRenditionGroups | boolean | Specifies whether to create separate audio rendition groups for TS segments. | true |
| DrmConfig | object | Configuration for the DRM provider. To disable DRM, leave all fields in this object empty. | |
| SystemIds | array | The ID of the DRM system. The supported systems depend on the protocol.
The corresponding System IDs are:
| |
| string | The ID of the DRM system. | 9a04f079-9840-4286-ab92-e65be0885f95 | |
| RotatePeriod | integer | The key rotation interval for DRM, in seconds. The default value of 0 disables key rotation. | 0 |
| ContentId | string | The content ID in the DRM system. The maximum length is 256 characters. Letters, digits, underscores (_), and hyphens (-) are supported. You must ensure this ID is unique to prevent playback failures. | live-axb1-9dd2fa123 |
| EncryptionMethod | string | The encryption method. Valid value:
If not specified, encryption is disabled. | SAMPLE_AES |
| IV | string | A 128-bit, 16-byte hex value represented by a 32-character string that is used with the key for encrypting data blocks. If you leave this parameter empty, MediaPackage creates a constant initialization vector (IV). If it is specified, the value is passed to the DRM service. | 00000000000000000000000000000000 |
| Url | string | The URL of the DRM key provider. | https://exampledrm.com/path?arg1=xxx |
| SegmentDuration | integer | The duration of each output segment, in seconds. If not set, this defaults to the channel's configured segment duration. The final segment duration is a multiple of the source segment duration that is closest to and not less than this value. Valid values: 1 to 30. | 6 |