API / mini Series API / 0x0106 Multiple Streaming Addresses
Send Multiple Streaming Addresses
🚨
1. These 0xE0 commands apply to streaming functions on mini series devices.
2. For clarity, the first 19 bytes are displayed as text, and the data block is displayed in JSON format.
3. No checksum verification is performed on this command data block.
Applicable Devices : mini-pro, mini-pro V3, mini v3, mini-ISO
| Symbol | Definition | Remarks |
|---|---|---|
| Start bit | < | The command uses "<" as the start bit |
| Transmit | T | |
| ADDR | 0x00 | |
| SN | 0x00 | |
| CMD | 0xE0 | |
| DAT1 | 0x01 | |
| DAT2 | 0x06 | |
| DAT3 | 0x00 | Data block length (LSB) |
| DAT4 | 0x00 | Data block length (MSB) |
| CHKSUM | Check sum = ADDR + SN + CMD + DAT1 + DAT2 + DAT3 + DAT4 | |
| End bit | > | The command uses ">" as the end bit |
Command Example (Send)
<T0000e0010601a991>{"deviceData":[{"url":"rtmp://push.tao1.info/live/TAOMINI66EE665312F29?txSecret=bb7de8975e8f7db8a35a1f6475c0142a&txTime=66EFB7D3","status":0,"defaultTaoRtmp":true},{"url":"rtmp://111","status":0,"playFlv":"","playM3u8":"","defaultTaoRtmp":false},{"url":"rtmp://222","status":0,"playFlv":"","playM3u8":"","defaultTaoRtmp":false},{"url":"rtmp://333","status":0,"playFlv":"","playM3u8":"","defaultTaoRtmp":false}],"language":1}
Command Example (Response)
<F0000e001063d0024>{"code":0,"deviceUuid":"0122477JPRTA69000001","msg":"成功"}
Sent Data Block Description
| Parameter | Required | Type | Description |
|---|---|---|---|
deviceData | * | List<RtmpPreBean> | Device Identification (Used with isBle for deletion) |
RtmpPreBean
| Parameter | Required | Type | Description |
|---|---|---|---|
url | * | String | Streaming Adreesses |
status | * | int | 0: saved; 1: not saved |