7、根据机器人ID获取视频流地址

简要描述
  • 根据机器人ID获取视频流地址
请求URL
  • http://xx.com/video/getRobotVideoAddress
请求方式
  • POST
参数
参数名 必选 类型 说明
terminalId String 机器人id
MonitorType Integer 0表示可见光,1表示红外
返回示例
{
    "code":"0",
    "desc":"操作成功",
    "data":[
        {
            "username":"admin",
            "password":"Admin12345",
            "ip":"192.168.1.65",
            "port":"554",
            "rtsp":"rtsp://admin:Admin12345@192.168.1.65:554/Streaming/Channels/101?transportmode=unicast",
            "rtmp":"rtmp://192.168.5.104:1935/rtlive/8c88de6747b84bc88505d238216f6cab",
            "httpPath":"http://192.168.5.104:8000/live?port=1935&app=rtlive&stream=8c88de6747b84bc88505d238216f6cab",
            "startTime":null,
            "endTime":null,
            "openTime":"2021-10-11 09:19:02",
            "monitorDevicId":"922058b633a2450ba690a076ce47f22d",
            "count":0,
            "terminalId":null,
            "token":null,
            "monitorType":0,
            "deviceName":null
        },
        {
            "username":"admin",
            "password":"Admin12345",
            "ip":"192.168.1.64",
            "port":"554",
            "rtsp":"rtsp://admin:Admin12345@192.168.1.64:554/h264/ch1/sub/av_stream",
            "rtmp":"rtmp://192.168.5.104:1935/rtlive/8c88de6747b84bc88505d238216f6cab_h",
            "httpPath":"http://192.168.5.104:8000/live?port=1935&app=rtlive&stream=8c88de6747b84bc88505d238216f6cab_h",
            "startTime":null,
            "endTime":null,
            "openTime":"2021-10-11 09:19:02",
            "monitorDevicId":"f1a48b0c2a9347af929017608833a748",
            "count":0,
            "terminalId":null,
            "token":null,
            "monitorType":1,
            "deviceName":null
        }
    ]
}
返回参数说明
参数名 类型 说明
MonitorType Integer 0表示可见光,1表示红外
httpPath String 视频流地址
rtsp String 直播流地址
rtmp String 直播流地址
备注
  • 更多返回错误代码请看首页的错误代码描述

欢迎使用ShowDoc!