All Products
Search
Document Center

Intelligent Media Services:LivePackagingConfig

Last Updated:Jan 14, 2026
ParameterTypeDescriptionExample
object

Live packaging configuration.

LiveManifestConfigsarray

Live stream manifest configuration. Only one configuration is supported.

LiveManifestConfig

Live stream manifest configuration.

UseAudioRenditionGroupsboolean

Specifies whether to create separate audio rendition groups for TS segments.

true
DrmConfigobject

Configuration for the DRM provider. To disable DRM, leave all fields in this object empty.

SystemIdsarray

The ID of the DRM system. The supported systems depend on the protocol.

  • DASH: Supports Google Widevine and Microsoft PlayReady.
  • HLS: DRM is not supported.
  • HLS-CMAF: Supports Apple FairPlay, Google Widevine, and Microsoft PlayReady.

The corresponding System IDs are:

  • Apple FairPlay: 94ce86fb-07ff-4f43-adb8-93d2fa968ca2
  • Google Widevine: edef8ba9-79d6-4ace-a3c8-27dcd51d21ed
  • Microsoft PlayReady: 9a04f079-9840-4286-ab92-e65be0885f95
string

The ID of the DRM system.

9a04f079-9840-4286-ab92-e65be0885f95
RotatePeriodinteger

The key rotation interval for DRM, in seconds. The default value of 0 disables key rotation.

0
ContentIdstring

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
EncryptionMethodstring

The encryption method. Valid value:

  • SAMPLE_AES

If not specified, encryption is disabled.

SAMPLE_AES
IVstring

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
Urlstring

The URL of the DRM key provider.

https://exampledrm.com/path?arg1=xxx
SegmentDurationinteger

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