Class Endpoint

java.lang.Object
io.antmedia.datastore.db.types.Endpoint

@Entity public class Endpoint extends Object
  • Field Details

    • status

      private String status
      Keeps track of the RTMP endpoint status if it is writing or not {@link IAntMediaStreamHandler#BROADCAST_STATUS_*}
    • type

      private String type
      Service name like facebook, periscope, youtube or generic it should match the VideoServiceEndpoint names or it can be generic
    • rtmpUrl

      private String rtmpUrl
      RTMP URL of the endpoint
    • endpointServiceId

      @Id private String endpointServiceId
      Endpoint service id, this field holds the id of the endpoint
  • Constructor Details

    • Endpoint

      public Endpoint()
      Default constructor used in BroadcastRestService.addEndpoint
    • Endpoint

      public Endpoint(String rtmpUrl, String type, String endpointServiceId, String status)
  • Method Details

    • getRtmpUrl

      public String getRtmpUrl()
    • setRtmpUrl

      public void setRtmpUrl(String rtmpUrl)
    • getEndpointServiceId

      public String getEndpointServiceId()
    • setEndpointServiceId

      public void setEndpointServiceId(String endpointServiceId)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getStatus

      public String getStatus()
    • setStatus

      public void setStatus(String status)