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 Summary
Constructors Constructor Description RtspSource(String name, EndpointBase endpoint)
Creates an instance of RtspSource class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointBase
getEndpoint()
Get the endpoint property: RTSP endpoint information for Video Analyzer to connect to.RtspTransport
getTransport()
Get the transport property: Network transport utilized by the RTSP and RTP exchange: TCP or HTTP.RtspSource
setTransport(RtspTransport transport)
Set the transport property: Network transport utilized by the RTSP and RTP exchange: TCP or HTTP.-
Methods inherited from class com.azure.media.videoanalyzer.edge.models.SourceNodeBase
getName
-
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-