Enable and disable the stream forwarder. After creating the stream forwarder, you can call this interface to enable it. Once enabled, the device will automatically forward streams when it comes online.
1.
When you need to create a transcoder, use this interface without adding the converter_id parameter, and also do not add the auto_push_stream parameter, to create a transcoder.
2.
After creating the transcoder, you can call this interface again, which will trigger automatic streaming. At this point, you need to add the converter_id parameter, with the value being the converter_id returned upon successful transcoder creation, and set auto_push_stream to true to enable stream forwarding.
Request
Path Params
converter_id
string
required
Stream Forwarder ID
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
auto_push_stream
boolean
required
true: Enable auto-forwarding; false: Turn off auto forwarding;