converter_id)schema defaults to rtmp if omitted. auto_push_stream=false persists config without starting the stream (can be enabled later via ②); omitting the field or setting auto_push_stream=true starts streaming immediately (default).converter_id + auto_push_stream=true)converter_id + auto_push_stream=false)converter_id, no auto_push_stream)converter_name, sn, camera, video_type, schema/bypass_option. The forwarder must be in stopped state (error returned otherwise). schema update supports rtmp (requires bypass_option.url) and gb28181 (requires bypass_option.server_id); updating to rtsp is not supported.Note: snandcameraare binding required fields and must be provided in all scenarios.
{
"sn": "7CTDL9K00A0009",
"camera": "165-0-7",
"schema": "rtmp",
"bypass_option": {
"url": "rtmp://10.88.200.3:1935/uav/6QCDL5R0000128"
},
"converter_name": "test-transcoder",
"auto_push_stream": false,
"video": "normal-0"
}curl --location '/openapi/v2.0/manage/api/v1.0/stream-converters' \
--header 'X-Organization-Key;' \
--header 'X-Request-Id;' \
--header 'X-Request-Id;' \
--header 'x-user-token;' \
--header 'x-user-token;' \
--header 'Content-Type: application/json' \
--data '{
"sn": "7CTDL9K00A0009",
"camera": "165-0-7",
"schema": "rtmp",
"bypass_option": {
"url": "rtmp://10.88.200.3:1935/uav/6QCDL5R0000128"
},
"converter_name": "test-transcoder",
"auto_push_stream": false,
"video": "normal-0"
}'{
"code": 0,
"message": "OK",
"data": {
"converter_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"create_ts": 1718400000,
"update_ts": 1718400000,
"converter_state": "running"
}
}