• K8凯发(中国)

    读取前端解码器上的 PIP 列表协议
    请求地址:

    http://ip:port/Matrix/ListPIPFromDevice?hostid={$hostid}


    请求方式: GET


    请求参数:
    参数名 类型 描述 是否必选
    hostid int 解码器设备 ID。 缺省为-1, 表示读取所有解码器的信息 N

    返回数据:

    {

    "result": {$result},

    "list":[{

    "hostid": {$hostid},

    "winid": {$winid},"left": {$left},

    "top": {$top},

    "right": {$right},

    "bottom": {$bottom}

    }]

    }

    {

    "result" :{$result},

    }


    返回字段:
    字段名 类型 描述
    result int 执行结果: 0 成功, -1 为失败
    hostid int 解码器设备 ID
    winid int 前端返回的窗口ID
    left int 左上角坐标的 X
    top int 左上角坐标的 Y
    right int 右上角坐标的 X
    bottom int 右上角坐标的 Y