Create an Encoding Job
Through encoding process, your audio files can be encoded to streamable DASH and HLS AOD assets.
To create and edit a AOD, using the following APIs:
Create:
POST /bv/cms/v1/aods
Update:
PUT /bv/cms/v1/aods/:id
Query Parameters | Required | Description |
---|---|---|
name | Required | Name of the AOD |
profile_set_id | Required | Specify the ID of ProfileSet to apply to the AOD |
source | Required | Refer to the steps to define the type of source file and create associate object |
security | Required | Content protection settings for the live streaming |
schedule | Required | Define the availability schedule for the AOD |
Create Source Object
Based on the source type, create the source object accordingly:
SOURCE_TYPE_LIBRARY
, which is uploaded from your local
"source":{
"type":"SOURCE_TYPE_LIBRARY",
"library":{
"video":{
"id":"your_audio_id_in_library"
}
}
}