Interface Address

https://api.example.com/omstation/gb28181/sendRealTimeMediaPlay

During the development process, please replace api.example.com with the domain name or IP address of your own server.

Request Method

  • Post

Request Headers

  • Content-Type: application/json
  • token: A334853698EF49DC98A1C8BA65149351

Request Parameters

Parameter Example

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

Parameter Description

Field Type Description Required
deviceId String Device ID Y
channelId String Channel ID Y

Return Result

Result Example

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

Result Description

Field Type Description
code int Status code; for details, please refer to “Status Code Description”
message String Request status description
data object Return result content, including different streaming addresses
文档更新时间: 2025-07-23 11:42   作者:admin