Class StartSendRtpReq

java.lang.Object
io.github.lunasaw.zlm.entity.req.MediaReq
io.github.lunasaw.zlm.entity.rtp.StartSendRtpReq

public class StartSendRtpReq extends MediaReq
作为GB28181客户端,启动ps-rtp推流,支持rtp/udp方式;该接口支持rtsp/rtmp等协议转ps-rtp推流。 第一次推流失败会直接返回错误,成功一次后,后续失败也将无限重试。。
  • Field Summary

    Fields inherited from class io.github.lunasaw.zlm.entity.req.MediaReq

    app, schema, stream, vhost
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.alibaba.fastjson2.JSONObject
     
    作为GB28181 Passive TCP服务器;该接口支持rtsp/rtmp等协议转ps-rtp被动推流。调用该接口,zlm会启动tcp服务器等待连接请求,连接建立后,zlm会关闭tcp服务器,然后源源不断的往客户端推流。 第一次推流失败会直接返回错误,成功一次后,后续失败也将无限重试(不停地建立tcp监听,超时后再关闭)。

    Methods inherited from class io.github.lunasaw.zlm.entity.req.MediaReq

    getParam, toMap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StartSendRtpReq

      public StartSendRtpReq()
  • Method Details

    • getMap

      public com.alibaba.fastjson2.JSONObject getMap()
    • getPassiveMap

      public Map<String,String> getPassiveMap()
      作为GB28181 Passive TCP服务器;该接口支持rtsp/rtmp等协议转ps-rtp被动推流。调用该接口,zlm会启动tcp服务器等待连接请求,连接建立后,zlm会关闭tcp服务器,然后源源不断的往客户端推流。 第一次推流失败会直接返回错误,成功一次后,后续失败也将无限重试(不停地建立tcp监听,超时后再关闭)。
      Returns: