Fields Declare
Live Type
| Field | Description |
|---|---|
| 0 | Live |
| 2 | VR Live |
| 3 | HD Live |
| 4 | 4K Live |
Template Type
| Field | Description |
|---|---|
| 1 | User defined |
| 2 | System predefined |
Template Fields
| Field | Description |
|---|---|
| id | The template ID |
| name | name/bitrate/widthxheight |
| displayName | The display name of template |
| videoWidth | Video width |
| videoHeight | Video height |
| videoBitrate | Video birate |
| audioBitrate | Audio bitrate |
| frameRate | Video framerate |
| transcodeType | [Live Type](#Live Type) |
| type | [Template Type](#Template Type) |
| userId | The user id of this template belong to, if it is a system template this field is null |
| createTime | The creation time of template |
| updateTime | The lastmodified of template |
| advancedArgumentsObj | [Advanced Arguments](#Advanced Arguments) |
Advanced Arguments
Field Description
| Field | Description | Type |
|---|---|---|
| rc | Bitrate control mode,VBR or CBR | String |
| refFrame | ref-frame count | Integer |
| gopSize | GOP size | Integer |
| gopType | GOP unit,0:frames,1:milliseconds,the default value is 0 | Integer |
| bframe | b-frame count | Integer |
| interlace | Frame field mode, -1: follow source, 0: frame, 3: MBAFF | Integer |
| smartBorder | Conversion mode, 0: linear stretch, 1: smart box, 2: cropping | Integer |
Field Example
{
"rc": "CBR",
"gopSize": 4000,
"bFrame": 0,
"refFrame": 1,
"qualityLevel": null,
"interlace": -1,
"smartBorder": 1
}