Create a stream forwarder. Calling this interface will create and store a stream forwarder on FlightHub 2. You can call Get Stream Forwarder List to retrieve the created stream forwarders, and then call Enable/Disable Stream Forwarder to activate the stream forwarding function.
You can create up to 20 stream forwarders.
Request
Header Params
X-Request-Id
string<uuid>
required
Request Unique Identifier
X-Language
enum<string>
optional
Allowed values:
zhen
Default:
zh
X-Project-Uuid
string
optional
Project Number
Default:
{{X-Project-Uuid}}
Body Params application/json
converter_name
string
required
Name of the running converter. This name must be unique, and the three parameters sn/camera_index/rtmp_url cannot be the same as those of an already created and active converter.
sn
string
required
SN of the stream source device, such as dock SN or aircraft SN.
camera_index
string
required
Camera index. This parameter can be passed through data.list.drone.camera_list.camera_index in the device list.
schema
string
required
Parameter
schema_option
required
Parameter Options
Any of
url
string
RTMP Server Address
optional
When the schema is RTMP, the url (streaming address) is required