Custom Live Broadcast Development Guide - Imou Open Platform
Equipment live
Module overview
This module provides a functional interface for live broadcast through the device, including functions such as creating a live broadcast, setting a live broadcast plan, and turning on/off the live broadcast.
Guides: Cloud live from an AppId · Integrate a camera.
API list:
| Serial number | Interface function | Description |
|---|---|---|
| 1 | bindDeviceLive: Create device source live broadcast address | Create device live broadcast based on device serial number, channel number, stream type, etc. |
| 2 | unbindLive: Delete the live broadcast address | According to the live broadcast token, delete the live broadcast address |
| 3 | liveList: Get Live List | Query device live address list by page |
| 4 | queryLiveStatus: Get live broadcast status | Query live broadcast status based on live broadcast token |
| 5 | modifyLivePlanStatus: Set the live broadcast plan switch | Modify the live broadcast status of the device according to the live broadcast token |
| 6 | modifyLivePlan: modify the live broadcast plan time | Set the device live broadcast plan according to the live broadcast token |
| 7 | batchModifyLivePlan: Batch modify live broadcast plan time | Set live broadcast plans for multiple devices according to live broadcast tokens |
| 8 | getLiveStreamInfo: Query the live broadcast address information created by the device channel | Query the live broadcast address and live state information based on the device serial number and channel number |
| 9 | createDeviceRecordHls: Create HLS address from device recording segment | HLS URL for a recorded time range (local or cloud) |
| 10 | createDeviceFlvLive: Create device FLV live (real-time and playback) | FLV URL for real-time or playback |
| 11 | deleteDeviceFlvLive: Delete device FLV real-time live | Remove persisted FLV real-time binding only |
| 12 | queryDeviceFlvLive: Query device FLV real-time live | Query persisted FLV real-time URL only |
| 13 | createDeviceRtmpLive: Create rtmp protocol live address | Create rtmp protocol live address based on device number and channel number |
| 14 | deleteDeviceRtmpLive: Delete the rtmp protocol live address | Delete the rtmp protocol live address according to the device number and channel number |
| 15 | queryDeviceRtmpLive: Query the rtmp protocol live address | Query the rtmp protocol live address according to the device number and channel number |
