get-program-preview
Use the interface to get the Program preview.
Request Mode
POST http://ip/mwapi/get-program-preview
Response Body
{
"status": 0,
"image-data": "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2",
"videoPlayerStatus": [
{
"layerId": 0,
"playStatus": 1,
"progress": 138589,
"sourceDuration": 120000,
"sourceId": 101
}
],
"musicStatus": {
"currentMusicId": 201,
"duration": 253000,
"policy": 1,
"progress": 32072,
"status": 1
},
"output": [
{
"id": 1,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": true
}
],
"input": [
{
"id": 11,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": true
},
{
"id": 14,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": true
},
{
"id": 17,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": true
},
{
"id": 18,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": true
},
{
"id": 12,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": true
},
{
"id": 13,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": false
},
{
"id": 19,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": false
},
{
"id": 20,
"vu_left": -100,
"vu_right": -100,
"inCurrentScene": false
}
]
}
Name | Description |
---|---|
status | 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values. |
data | The thumbnail data in base64 format, which needs to be converted to hexadecimal value when displayed |
videoPlayerStatus | The video play status |
musicStatus | The audio play status |
output | The output level of audio |
input | The input level of audio |