Create a Video Preset
A live entity and video entity is encoded by attaching a preset. Once a preset is attached to the entity, Uiza will encode the entity according to the profiles in the preset.
/v1/video_presets
Request Body
Name
Type
Description
{
"id": "2823437c-cd5f-4565-821a-93c55bea0107",
"name": "thinhtran",
"description": "Made by developer",
"is_default": false,
"profiles": [
{
"id": "9c1a5300-6281-11ea-883b-028fc5698662",
"name": "720p H264 30fps High Latency Portrait",
"segment_duration": 10,
"orientation": "portrait",
"video_profile": {
"video_resolution": "720",
"video_codec": "H264",
"video_bitrate": "1500K",
"video_frame_rate": "30"
},
"audio_profile": {
"audio_channel": "2",
"audio_codec": "AAC",
"audio_bitrate": "128K",
"audio_frame_rate": "1"
}
}
],
"created_at": "2020-03-12T09:34:41Z",
"updated_at": "2020-03-12T09:34:41Z"
}Last updated