|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The live streaming packaging configuration. |
||
| DrmConfig |
object |
The DRM encryption provider configuration. If encryption is not used, leave all fields empty. |
|
| SystemIds |
array |
The DRM system IDs, which are determined by the protocol type used.
The following three DRM systems are supported, with their corresponding system IDs:
|
|
|
string |
The DRM system ID. |
9a04f079-9840-4286-ab92-e65be0885f95 |
|
| EncryptionMethod |
string |
The encryption algorithm. Valid values:
Default value: empty, which indicates no encryption. |
SAMPLE_AES |
| IV |
string |
The optional 128-bit (16-byte) hexadecimal value represented by a 32-character string, used with the key for encrypted data blocks. If you do not specify this value, MediaPackage creates a constant initialization vector (IV). Default value: empty. If specified, the value is passed through to the provider as a constant initialization vector. |
00000000000000000000000000000000 |
| Url |
string |
The URL of the DRM key provider. |
https://exampledrm.com/path?arg1=xxx |
| RotatePeriod |
integer |
The DRM key rotation interval in seconds. Default value: 0, which indicates that keys are not rotated. |
0 |
| ContentId |
string |
The content ID in the DRM system. Format: [A-Za-z0-9_-]+. Maximum length: 256 characters. You must ensure the uniqueness of the content ID. Otherwise, DRM playback may fail. |
live-axb1-9dd2fa123 |
| SegmentDuration |
integer |
The duration of each segment in seconds. Default value: the segment duration of the channel. The actual segment duration is the nearest multiple of the source segment duration that is greater than or equal to the configured value. Valid values: 1 to 30. |
6 |
| UseAudioRenditionGroups |
boolean |
Specifies whether to separate audio tracks for TS segments. |
true |
| LiveManifestConfigs |
array |
The live streaming manifest configuration. Up to one configuration is supported. |
|
| LiveManifestConfig |
The live streaming manifest configuration. |
||
| PartDurationMs |
integer |
The duration of an LL-HLS part or an LL-DASH chunk in milliseconds. The value must be no less than 200 and no greater than the segment duration in milliseconds. |
350 |
LivePackagingConfig
Updated at:
Is this page helpful?