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=false, 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... | |
| 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_ = false |
| 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 Session uses Session::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 52 of file RTSPInput.h.
buffer_mode()
| inline |
Buffer-mode label passed through to rtspsrc (empty = default).
Definition at line 73 of file RTSPInput.h.
caps_behavior()
| inline |
Whether the Node negotiates static or dynamic caps.
Definition at line 47 of file RTSPInput.h.
drop_on_latency()
| inline |
True if late buffers should be dropped when the jitter-buffer overflows.
Definition at line 69 of file RTSPInput.h.
element_names()
|
Deterministic element names this Node will create.
Definition at line 54 of file RTSPInput.h.
input_role()
| inline |
Role this Node plays as a stream source.
Definition at line 43 of file RTSPInput.h.
kind()
| inline |
Type label for this Node kind.
Definition at line 35 of file RTSPInput.h.
latency_ms()
| inline |
Jitter-buffer latency, in milliseconds.
Definition at line 61 of file RTSPInput.h.
tcp()
| inline |
True if the RTSP transport is forced to TCP (false = UDP).
Definition at line 65 of file RTSPInput.h.
url()
| inline |
The RTSP URL this Node was constructed with.
Definition at line 57 of file RTSPInput.h.
user_label()
| inline |
User-facing label for this Node.
Definition at line 39 of file RTSPInput.h.
Private Member Attributes
buffer_mode_
|
Definition at line 82 of file RTSPInput.h.
drop_on_latency_
|
Definition at line 81 of file RTSPInput.h.
latency_ms_
|
Definition at line 79 of file RTSPInput.h.
tcp_
|
Definition at line 80 of file RTSPInput.h.
url_
|
Definition at line 78 of file RTSPInput.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.