Class 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 pipeline.
    • Constructor Detail

      • RtspSource

        public RtspSource()
    • Method Detail

      • transport

        public RtspTransport transport()
        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.
      • withTransport

        public RtspSource withTransport​(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.
      • endpoint

        public EndpointBase endpoint()
        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.
      • withEndpoint

        public RtspSource withEndpoint​(EndpointBase endpoint)
        Set 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.
        Parameters:
        endpoint - the endpoint value to set.
        Returns:
        the RtspSource object itself.
      • withName

        public RtspSource withName​(String name)
        Set the name property: Node name. Must be unique within the topology.
        Overrides:
        withName in class SourceNodeBase
        Parameters:
        name - the name value to set.
        Returns:
        the NodeBase object itself.