1. Bypass Streaming
NEW FlightHub 2 OpenAPI V1.0
  • Root Directory
    • authentication
      • Authentication Tutorial
    • System Service
      • Query FlightHub 2 system status
    • Organize Projects
      • Organize Project Tutorial
      • Get the list of projects under the organization
      • Get the list of devices under the organization
      • Obtain the list of devices under the project
      • Obtain storage upload credentials for the project
      • Add personnel to the project
    • Device Management
      • Device Management Tutorial
      • Device Model Retrieval
      • HMS Information Retrieval
      • Real-time control command distribution
      • Dock camera switch
      • Aircraft Lens Switching
      • Control acquisition
      • Release control
      • Video transmission clarity settings
      • Custom Network RTK Calibration
    • Livestream Management
      • Livestream Management Tutorial
      • Livestream Push
        • Start livestream
      • Bypass Streaming
        • Stream forwarding error code
        • Create Stream Forwarder
          POST
        • Enable/Disable stream forwarder
          PUT
        • Get stream transcoder list
          GET
        • Delete stream forwarder
          DELETE
    • Task Management
      • Task Management Tutorial
      • Create Flight Task
      • Updated flight task status
      • Obtain flight task list
      • Obtain media resources generated by the Flight task
      • Obtain Flight task trajectory information
      • Obtain Flight task information
    • Flight Route Management
      • Flight Route Management Tutorial
      • Flight Route Upload Completion Notification
      • Get the list of flight routes under the project
      • Get flight route details
    • Model Management
      • Model Management Tutorial
      • Model reconstruction coordinate system
      • Get the list of models under the project
      • Get Model Details
      • Model reconstruction
    • Annotation Management
      • Annotation Management Tutorial
      • Create map annotation
    • Open modeling
      • Open modeling tutorial
      • Model Reconstruction Error Code
      • Release Notes
      • Algorithm parameter introduction
      • Get resource details
      • Get Details of Models Currently Being Reconstructed
      • Get upload credential
      • Upload callback
      • Delete resource
      • Start reconstruction task
      • Stop reconstruction task
      • Get the Model Details
      • Delete Models
  • Schemas
    • 默认目录
      • 公共结构
    • 硬件设备
    • 实时应用
    • real-time application
    • Root Table of Contents
      • Default Table of Contents
        • Public Structure
      • Hardware device
        • Dock 3
        • Matrice 4D Series
        • Dock 1
        • Matrice 30 Series
        • Dock 2
        • Matrice 3D Series
        • DJI RC Plus 2
        • Mavic 3 Enterprise Series
        • DJI RC Pro Enterprise
        • Matrice 300 RTK
        • Matrice 350 RTK
        • Matrice 4 Series
        • DJI Smart Controller Enterprise
        • DJI RC Plus
      • 实时应用
      • real-time application
        • schema_option_rmtp
        • schema_option_gb28181
        • task_repeat_option_relative_monthly
        • task_repeat_option_absolute_monthly
        • task_repeat_option_weekly
        • task_repeat_option_daily
  1. Bypass Streaming

Enable/Disable stream forwarder

Developing
PUT
/openapi/v0.1/live-stream/converter/{converter_id}
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

Header Params

Body Params application/json

Example
{
    "auto_push_stream": true
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/openapi/v0.1/live-stream/converter/' \
--header 'X-Request-Id;' \
--header 'X-Language: zh' \
--header 'X-Project-Uuid: {{X-Project-Uuid}}' \
--header 'Content-Type: application/json' \
--data '{
    "auto_push_stream": true
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "code": 0,
    "message": "OK"
}
Modified at 2025-02-25 08:53:51
Previous
Create Stream Forwarder
Next
Get stream transcoder list
Built with