Class RtspSource

java.lang.Object
com.azure.media.videoanalyzer.edge.models.SourceNodeBase
com.azure.media.videoanalyzer.edge.models.RtspSource

public final class RtspSource extends SourceNodeBase
RTSP source allows for media from an RTSP camera or generic RTSP server to be ingested into a live pipeline.
  • Constructor Details

    • RtspSource

      public RtspSource(String name, EndpointBase endpoint)
      Creates an instance of RtspSource class.
      Parameters:
      name - the name value to set.
      endpoint - the endpoint value to set.
  • Method Details

    • getTransport

      public RtspTransport getTransport()
      Get the transport property: Network transport utilized by the RTSP and RTP exchange: TCP or HTTP. When using TCP, the RTP packets are interleaved on the TCP RTSP connection. When using HTTP, the RTSP messages are exchanged through long lived HTTP connections, and the RTP packages are interleaved in the HTTP connections alongside the RTSP messages.
      Returns:
      the transport value.
    • setTransport

      public RtspSource setTransport(RtspTransport transport)
      Set the transport property: Network transport utilized by the RTSP and RTP exchange: TCP or HTTP. When using TCP, the RTP packets are interleaved on the TCP RTSP connection. When using HTTP, the RTSP messages are exchanged through long lived HTTP connections, and the RTP packages are interleaved in the HTTP connections alongside the RTSP messages.
      Parameters:
      transport - the transport value to set.
      Returns:
      the RtspSource object itself.
    • getEndpoint

      public EndpointBase getEndpoint()
      Get the endpoint property: RTSP endpoint information for Video Analyzer to connect to. This contains the required information for Video Analyzer to connect to RTSP cameras and/or generic RTSP servers.
      Returns:
      the endpoint value.