• K8凯发(中国)

    根据设备的备注信息查询组织列表协议:
    请求

    http://ip:port/QueryOrgTreeByMemo?username={$username}&password={$password}

    &memo={$mem o}&hls={$hls}&rtsp={$rtsp}&httpflv={$httpflv}&ws={$ws}

    回复

    {

    "result" :{$result},

    "hostip": {$hostip},

    "hostport": {$hostport},

    "serviceip": {$serviceip},

    "serviceport": {$serviceport},

    "user": {$user},

    "items": [{

    "valid" :{$valid},

    "ip" :{$ip},

    "port" :{$port},

    "id" :{$id},

    "name" :{$name},

    "path" :{$path},

    "channels" :[{

    "deviceid": {$deviceid},

    "channel":{$channel}

    "name":{$name}

    "url": {$url},

    "rtspurl": {$rtspurl},

    "httpflv": {$httpflv},

    "ws": {$ws},

    "cameratype":{$cameratype}

    "gbid": {$gbid},

    "longitude": {$longitude},

    "latitude": {$latitude},

    "valid":{$valid}

    }],

    "items": [{...}]

    }]

    }

    username 用户名

    password 密码

    hls 是否读取 hls 的 url, 缺省为 0

    rtsp 是否读取 rtsp 的 url, 缺省为 0

    httpflv 是否读取 http-flv 的 url, 缺省为 0

    ws 是否读取 websocket 的 url, 缺省为 0

    hostip 主机端的 IP

    hostport 主机端的端口

    serviceip 流媒体的 IP

    serviceport 流媒体的端口

    user 登录的用户名

    valid 是否在线的标志, valid=1, 在线; valid=0, 不在线

    ip 设备的 IP 地址

    port 设备的端口

    id 设备的 ID, 数据库产生, 唯一值

    name 设备的名称

    path 设备的路径, 以"/"区分各级路径

    deviceid 设备 ID

    channel 通道号

    name 摄像机名称

    url HLS 的 URL(只在 hls 不等于 0 时才 有)

    rtspurl RTSP 的 URL(只在 rtsp 不等于 0 时 才有)

    httpflv HTTP-FLV 的 URL( 只在 httpflv 不 等于 0 时才有)

    ws WebSocket 的 URL(只在 ws 不等于 0 时才有)

    cameratype 摄像机的类型: 1-球机;2-半球;3-固定 枪机;4-遥控枪

    gbid 国标 ID

    longitude 经度

    latitude 纬度