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

与“”相关结果约

    找不到与“”相关的结果

    与“”相关结果约

      找不到与“”相关的结果