Skip to main content

RTSPInput Class

Declaration

class simaai::neat::RTSPInput { ... }

Included Headers

#include <RTSPInput.h>

Base class

classNode

Public Constructors Index

RTSPInput (std::string url, int latency_ms=200, bool tcp=true, bool drop_on_latency=false, std::string buffer_mode="")

Public Member Functions Index

std::stringkind () const override
std::stringuser_label () const override
InputRoleinput_role () const override
NodeCapsBehaviorcaps_behavior () const override
std::stringbackend_fragment (int node_index) const override
std::vector< std::string >element_names (int node_index) const override
const std::string &url () const
intlatency_ms () const
booltcp () const
booldrop_on_latency () const
const std::string &buffer_mode () const

Private Member Attributes Index

std::stringurl_
intlatency_ms_ = 200
booltcp_ = true
booldrop_on_latency_ = false
std::stringbuffer_mode_

Definition at line 14 of file RTSPInput.h.

Public Constructors

RTSPInput()

simaai::neat::RTSPInput::RTSPInput (std::string url, int latency_ms=200, bool tcp=true, bool drop_on_latency=false, std::string buffer_mode="")

Definition at line 16 of file RTSPInput.h.

Public Member Functions

backend_fragment()

std::string simaai::neat::RTSPInput::backend_fragment (int node_index)

Definition at line 32 of file RTSPInput.h.

buffer_mode()

const std::string& simaai::neat::RTSPInput::buffer_mode ()
inline

Definition at line 47 of file RTSPInput.h.

47 const std::string& buffer_mode() const {
48 return buffer_mode_;
49 }

caps_behavior()

NodeCapsBehavior simaai::neat::RTSPInput::caps_behavior ()
inline

Definition at line 28 of file RTSPInput.h.

28 NodeCapsBehavior caps_behavior() const override {
29 return NodeCapsBehavior::Dynamic;
30 }

drop_on_latency()

bool simaai::neat::RTSPInput::drop_on_latency ()
inline

Definition at line 44 of file RTSPInput.h.

44 bool drop_on_latency() const {
45 return drop_on_latency_;
46 }

element_names()

std::vector<std::string> simaai::neat::RTSPInput::element_names (int node_index)

Definition at line 33 of file RTSPInput.h.

input_role()

InputRole simaai::neat::RTSPInput::input_role ()
inline

Definition at line 25 of file RTSPInput.h.

25 InputRole input_role() const override {
26 return InputRole::Source;
27 }

kind()

std::string simaai::neat::RTSPInput::kind ()
inline

Definition at line 19 of file RTSPInput.h.

19 std::string kind() const override {
20 return "RTSPInput";
21 }

latency_ms()

int simaai::neat::RTSPInput::latency_ms ()
inline

Definition at line 38 of file RTSPInput.h.

38 int latency_ms() const {
39 return latency_ms_;
40 }

tcp()

bool simaai::neat::RTSPInput::tcp ()
inline

Definition at line 41 of file RTSPInput.h.

41 bool tcp() const {
42 return tcp_;
43 }

url()

const std::string& simaai::neat::RTSPInput::url ()
inline

Definition at line 35 of file RTSPInput.h.

35 const std::string& url() const {
36 return url_;
37 }

user_label()

std::string simaai::neat::RTSPInput::user_label ()
inline

Definition at line 22 of file RTSPInput.h.

22 std::string user_label() const override {
23 return url_;
24 }

Private Member Attributes

buffer_mode_

std::string simaai::neat::RTSPInput::buffer_mode_

Definition at line 56 of file RTSPInput.h.

56 std::string buffer_mode_;

drop_on_latency_

bool simaai::neat::RTSPInput::drop_on_latency_ = false

Definition at line 55 of file RTSPInput.h.

55 bool drop_on_latency_ = false;

latency_ms_

int simaai::neat::RTSPInput::latency_ms_ = 200

Definition at line 53 of file RTSPInput.h.

53 int latency_ms_ = 200;

tcp_

bool simaai::neat::RTSPInput::tcp_ = true

Definition at line 54 of file RTSPInput.h.

54 bool tcp_ = true;

url_

std::string simaai::neat::RTSPInput::url_

Definition at line 52 of file RTSPInput.h.

52 std::string url_;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.