Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the oauth. Example:Authorization: oauth ********************
Body Params application/jsonRequired
{
"v": "1",
"language": "en",
"project_id": 0,
"mode": "custom",
"width": 100,
"height": 100,
"fps": 5,
"vBitrate": 1000,
"aBitrate": 60,
"name": "string",
"rotation": 1,
"bFrames": 0,
"channelIds": [
0
],
"videoCodec": "h264",
"preset": "string",
"delay": 0
}
Request Code Samples
curl --location --request POST 'https://api-v2.streamvi.io/method/transcoder/add' \
--header 'Authorization: oauth <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"v": "1",
"language": "en",
"project_id": 0,
"mode": "custom",
"width": 100,
"height": 100,
"fps": 5,
"vBitrate": 1000,
"aBitrate": 60,
"name": "string",
"rotation": 1,
"bFrames": 0,
"channelIds": [
0
],
"videoCodec": "h264",
"preset": "string",
"delay": 0
}'
Responses
application/json Modified at 2025-11-04 05:56:26