Class RtspSource
java.lang.Object
com.azure.media.videoanalyzer.edge.models.SourceNodeBase
com.azure.media.videoanalyzer.edge.models.RtspSource
RTSP source allows for media from an RTSP camera or generic RTSP server to be ingested into a live pipeline.
-
Constructor Summary
ConstructorDescriptionRtspSource
(String name, EndpointBase endpoint) Creates an instance of RtspSource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endpoint property: RTSP endpoint information for Video Analyzer to connect to.Get the transport property: Network transport utilized by the RTSP and RTP exchange: TCP or HTTP.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 Details
-
RtspSource
Creates an instance of RtspSource class.- Parameters:
name
- the name value to set.endpoint
- the endpoint value to set.
-
-
Method Details
-
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
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
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.
-