NEW FlightHub 2 OpenAPI V1.0
  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
  1. Bypass Streaming

Get stream transcoder list

Developing
GET
/openapi/v0.1/live-stream/converter
Obtain the stream forwarder list. After creating a stream forwarder, you can call this interface to get the created stream forwarder.

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}}

Request 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 GET '/openapi/v0.1/live-stream/converter' \
--header 'X-Request-Id;' \
--header 'X-Language: zh' \
--header 'X-Project-Uuid: {{X-Project-Uuid}}'

Responses

🟢200Success
application/json
Body
code
integer 
required
Non-zero indicates an exception
message
string 
required
Message prompt
data
object 
required
list
array [object {11}] 
required
Example
{
  "code": 0,
  "message": "OK",
  "data": {
    "list": [
      {
        "converter_name": "custom-name-gb",
        "converter_id": "acfb0e79-87a7-4d61-898e-2f32792996e5",
        "sn": "7CTDM3D00BZNVZ",
        "camera_index": "165-0-7",
        "schema": "gb28181",
        "schema_option": {
          "server_id": "00000000000000000001",
          "server_ip": "127.0.0.1",
          "server_port": "5060",
          "device_password": "password",
          "local_port": "7060",
          "device_id": "34020000001310000004",
          "local_channel": "34020000001310000004"
        },
        "auto_push_stream": false,
        "device_online_status": true,
        "device_callsign": "司空惠州1号机场",
        "state": "initialized",
        "state_code": 213050
      },
      {
        "converter_name": "custom-name-rtmp",
        "converter_id": "6d84b264-934e-49bc-835c-78ef631b4d25",
        "sn": "7CTDM3D00BZNVZ",
        "camera_index": "165-0-7",
        "schema": "rtmp",
        "schema_option": {
          "url": "rtmp://live.restream.io/live31/"
        },
        "auto_push_stream": false,
        "device_online_status": true,
        "device_callsign": "司空惠州1号机场",
        "state": "initialized",
        "state_code": 213050
      }
    ]
  }
}
Previous
Enable/Disable stream forwarder
Next
Delete stream forwarder
Built with