跳到主要内容

Live Streaming Function

Function Overview

The live streaming function primarily streams video from the drone camera payload to a third-party cloud platform for playback. Users can easily start live streaming by clicking on the live stream button on the remote web page. The live streaming function supports starting, stopping, setting the resolution, and switching cameras.

Supported Live Streaming Types

Streaming TypeDescription
RTMPRTMP stands for Real Time Messaging Protocol(Real Time Messaging Protocol Protocol). This protocol is based on TCP and is a family of protocols including the basic RTMP protocol and its variants such as RTMPT, RTMPS, and RTMPE. RTMP is a network protocol designed for real-time data communication, mainly used for audio, video, and data communication between Flash/AIR platforms and streaming/interactive servers that support the RTMP protocol.
GB28181GB/T 28181-2016为《Technical requirements for information transmission, exchange, and control of public security video surveillance network systems》,It is mainly a transmission control specification for security video equipment access platforms in mainland China. For servers with an existing 28181 gateway, the Autel industry device stream can be pushed to the server directly through this protocol.

Live Streaming Framework

load livestream5.png

As shown in the above figure, the drone flight platform does not directly connect to the third-party cloud platform. Instead, it streams and forwards through Nest/Autel Enterprise. Communication between the remote controller and the drone still uses the Autel proprietary video transmission link.

The third-party cloud platform needs to deploy an MQTT gateway and a streaming media server in advance. The Autel streaming protocol supports RTMP/GB28181 modes. The MQTT gateway is mainly used for message communication, configuration settings, and retrieval.

Interaction Sequence Diagram

Interface Detailed Implementation

Live Streaming Function(MQTT)

  • Live Capability Update
    The live_capacity (live capability) field is included in the model of the gateway device and is only pushed when there is a status change on the device side. The live capability field contains information about the total number of video streams available for live streaming, the total number of video streams that can be streamed simultaneously, and the device's live streaming capability list.
  • Start Live Streaming
    The server issues a start live streaming command, specifying the protocol type, streaming quality, and other information. This includes streaming and pulling the live video stream.
  • Stop Live Streaming
  • Set Live Streaming Quality
    The streaming quality can be set, and the enumeration values can be viewed in the API section.
  • Set Live Streaming Lens
    The live streaming function allows switching lenses without affecting the live streaming process. The enumeration values for the lens types of the live video stream can be viewed in the API section.