get-program-preview 接口

获取Program预览画面。

请求方式

POST http://ip/mwapi/get-program-preview

返回数据

{
    "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
        }
    ]
}
属性 说明
status 返回状态。0:请求成功,返回其它值请参考 API 状态码
data 缩图数据,base64格式,显示时需要转换成 16 进制值。
videoPlayerStatus 视频播放状态
musicStatus 音频播放状态
output 音频输出电平信息
input 音频输入电平信息

与“”相关结果约

    找不到与“”相关的结果