list-channels
Use the interface to obtain the source list ready to be decoded. The following 2 types are contained.
- The preset sources which are obtained using the list-channels interface.
- The auto-detected NDI sources which are obtained using get-ndi-sources.
HTTP Request
GET http://ip/mwapi?method=list-channels
Parameter |
Description |
method |
list-channels |
Response Body
{
"status": 0,
"channels": [
{
"name": "RTP",
"url": "rtp://224.1.2.3:4000?mw-buffer-duration=60"
},
{
"name": "RTP1",
"url": "rtp://224.2.4.6:6688?mw-buffer-duration=50"
},
{
"name": "UDP",
"url": "udp://224.1.2.3:4000?mw-buffer-duration=200"
}
]
}
Name |
Description |
status |
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
channels |
Shows the preset source arrays. |