/api/ices/list-streams 接口
获取icecast服务所有流信息
请求方式
POST /api/ices/list-streams
返回数据
{
"streams": [
{
"room": "icecast_02",
"content-type": "audio/aac",
"is-magewell": true
},
{
"room": "test1",
"content-type": "audio/aac",
"is-magewell": true
}
],
"status": 0
}
属性 | 说明 |
---|---|
status | 0:执行成功。返回其它值请参考 API 状态码。 |
streams[i].room | 流名称 |
streams[i].content-type | 流的格式 |
streams[i].is-magewell | 是否属于magewell |