1.URL

http://124.223.60.234:8080/system/asset/gb28181/sendRealTimeMediaPlay

2.请求参数

2.1请求头

token:对应登录验证成功后,data里面对应的tokenId

2.2.参数示例

{
    "deviceId":"34020000001110000003",
    "channelId":"34020000001320000001"
}

2.3.参数说明

字段 类型 描述 是否必填
deviceId String 安防设备ID Y
channelNo String 通道号 Y

3.接口应答

3.1.返回示例

{
    "code": 200,
    "message": "Operation succeeded",
    "data": {
        "app": "rtp",
        "stream": "34020000001110000003_34020000001320000001",
        "flv": "http://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001.live.flv",
        "https_flv": "https://apollo.aovx.com:18443/rtp/34020000001110000003_34020000001320000001.live.flv",
        "ws_flv": "ws://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001.live.flv",
        "wss_flv": "wss://apollo.aovx.com:18443/rtp/34020000001110000003_34020000001320000001.live.flv",
        "fmp4": "http://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001.live.mp4",
        "https_fmp4": "https://apollo.aovx.com:18443/rtp/34020000001110000003_34020000001320000001.live.mp4",
        "ws_fmp4": "ws://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001.live.mp4",
        "wss_fmp4": "wss://apollo.aovx.com:18443/rtp/34020000001110000003_34020000001320000001.live.mp4",
        "hls": "http://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001/hls.m3u8",
        "https_hls": "https://apollo.aovx.com:18443/rtp/34020000001110000003_34020000001320000001/hls.m3u8",
        "ws_hls": "ws://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001/hls.m3u8",
        "wss_hls": "wss://apollo.aovx.com:18443/rtp/34020000001110000003_34020000001320000001/hls.m3u8",
        "ts": "http://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001.live.ts",
        "https_ts": "https://apollo.aovx.com:18443/rtp/34020000001110000003_34020000001320000001.live.ts",
        "ws_ts": "ws://apollo.aovx.com:8088/rtp/34020000001110000003_34020000001320000001.live.ts",
        "rtmp": "rtmp://apollo.aovx.com:8935/rtp/34020000001110000003_34020000001320000001",
        "rtsp": "rtsp://apollo.aovx.com:8554/rtp/34020000001110000003_34020000001320000001",
        "rtsps": "rtsps://apollo.aovx.com:8332/rtp/34020000001110000003_34020000001320000001",
        "rtc": "http://apollo.aovx.com:8088/index/api/webrtc?app=rtp&stream=34020000001110000003_34020000001320000001&type=play",
        "rtcs": "https://apollo.aovx.com:18443/index/api/webrtc?app=rtp&stream=34020000001110000003_34020000001320000001&type=play"
    }
}

3.2.返回结果说明

字段 类型 说明
code int 返回状态
message String 返回结果描述
data object 返回结果内容,不同的拉流地址
作者:admin  创建时间:2024-11-11 10:31
最后编辑:admin  更新时间:2025-04-23 17:26