/api/ices/receiver-info
Use the interface to obtain icecast RX information.
Request Mode
POST /api/ices/receiver-info
Response Body
{
"status": 0,
"ices": [
{
"uid": 1,
"enable": true,
"name": "icecast_01",
"service-url": "http://ec5.yesstreaming.net:1930",
"room": "stream",
"buffer-duration": 500,
"headroom-db": 0,
"state": "fail",
"format": {
"sample-rate": 0,
"channel-num": 0,
"bit-depth": 0,
"coding-format": "NONE"
}
}
]
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes. |
ices[i].uid | Unique ID, non-0 value. |
ices[i].enable | True: enable icecast; false: disable icecast. |
ices[i].name | Icecast RX name. |
ices[i].service-url | Icecast server URL. |
ices[i].room | Icecast stream name. |
ices[i].buffer-duration | Buffer time within [1,1000], in milliseconds. |
ices[i].headroom | Headroom, in decibels. |
ices[i].state | Connection state: idle, connecting, success, connect-fail, auth-fail, recv-fail, and fail. |
ices[i].format.sample-rate | Sample rate. |
ices[i].format.channel-num | Number of channels. |
ices[i].format.bit-depth | Bit depth. |
ices[i].format.codeing-format | Icecast formats include NONE, PCM, AAC, and MP3. |