Custom Live Broadcast Development Guide - Imou Open Platform
Equipment live
Module details
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.
Interface 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 | createDeviceRtmpLive: Create rtmp protocol live address | Create rtmp protocol live address based on device number and channel number |
| 10 | deleteDeviceRtmpLive: Delete the rtmp protocol live address | Delete the rtmp protocol live address according to the device number and channel number |
| 11 | queryDeviceRtmpLive: Query the rtmp protocol live address | Query the rtmp protocol live address according to the device number and channel number |
