RTSPInput Class
RTSP source Node — pulls a stream from an RTSP URL. More...
Declaration
Included Headers
Base class
| class | Node |
Public Constructors Index
| RTSPInput (std::string url, int latency_ms=200, bool tcp=true, bool drop_on_latency=true, std::string buffer_mode="") | |
|
Construct with an RTSP URL plus optional jitter-buffer / transport tuning. More... | |
Public Member Functions Index
| std::string | kind () const override |
|
Type label for this Node kind. More... | |
| std::string | user_label () const override |
|
User-facing label for this Node. More... | |
| InputRole | input_role () const override |
|
Role this Node plays as a stream source. More... | |
| bool | is_live_source () const override |
|
Live: frames arrive in real time. More... | |
| NodeCapsBehavior | caps_behavior () const override |
|
Whether the Node negotiates static or dynamic caps. More... | |
| std::string | backend_fragment (int node_index) const override |
|
GStreamer fragment this Node emits. More... | |
| std::vector< std::string > | element_names (int node_index) const override |
|
Deterministic element names this Node will create. More... | |
| const std::string & | url () const |
|
The RTSP URL this Node was constructed with. More... | |
| int | latency_ms () const |
|
Jitter-buffer latency, in milliseconds. More... | |
| bool | tcp () const |
|
True if the RTSP transport is forced to TCP (false = UDP). More... | |
| bool | drop_on_latency () const |
|
True if late buffers should be dropped when the jitter-buffer overflows. More... | |
| const std::string & | buffer_mode () const |
|
Buffer-mode label passed through to rtspsrc (empty = default). More... | |
Private Member Attributes Index
| std::string | url_ |
| int | latency_ms_ = 200 |
| bool | tcp_ = true |
| bool | drop_on_latency_ = true |
| std::string | buffer_mode_ |
Description
RTSP source Node — pulls a stream from an RTSP URL.
Pair with H264Depacketize (and optionally H264CapsFixup) plus a decoder to obtain raw frames. The Graph uses Graph::run() since this Node is a source and no samples are pushed by the application.
Definition at line 28 of file RTSPInput.h.
Public Constructors
RTSPInput()
|
Construct with an RTSP URL plus optional jitter-buffer / transport tuning.
Definition at line 31 of file RTSPInput.h.
Public Member Functions
backend_fragment()
|
GStreamer fragment this Node emits.
Definition at line 56 of file RTSPInput.h.