Amazon MediaPackage · Schema
CmafPackage
A Common Media Application Format (CMAF) packaging configuration.
BroadcastingMedia ProcessingMedia
Properties
| Name | Type | Description |
|---|---|---|
| Encryption | object | |
| HlsManifests | object | |
| SegmentDurationSeconds | object | |
| SegmentPrefix | object | |
| StreamSelection | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediapackage/refs/heads/main/json-schema/mediapackage-api-cmaf-package-schema.json",
"title": "CmafPackage",
"description": "A Common Media Application Format (CMAF) packaging configuration.",
"type": "object",
"properties": {
"Encryption": {
"allOf": [
{
"$ref": "#/components/schemas/CmafEncryption"
},
{
"xml": {
"name": "encryption"
}
}
]
},
"HlsManifests": {
"allOf": [
{
"$ref": "#/components/schemas/__listOfHlsManifest"
},
{
"xml": {
"name": "hlsManifests"
},
"description": "A list of HLS manifest configurations"
}
]
},
"SegmentDurationSeconds": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"xml": {
"name": "segmentDurationSeconds"
},
"description": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.\n"
}
]
},
"SegmentPrefix": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"xml": {
"name": "segmentPrefix"
},
"description": "An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId."
}
]
},
"StreamSelection": {
"allOf": [
{
"$ref": "#/components/schemas/StreamSelection"
},
{
"xml": {
"name": "streamSelection"
}
}
]
}
}
}