Skip to main content

UdpOutput Class

UDP sink Node — writes packets to a UDP destination. More...

Declaration

class simaai::neat::UdpOutput { ... }

Included Headers

#include <UdpOutput.h>

Base class

classNode

Public Constructors Index

UdpOutput (UdpOutputOptions opt)

Construct with destination + sync options. More...

Public Member Functions Index

std::stringkind () const override

Type label for this Node kind. More...

NodeCapsBehaviorcaps_behavior () const override

Whether the Node negotiates static or dynamic caps. More...

std::stringbackend_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...

Private Member Attributes Index

UdpOutputOptionsopt_

Description

UDP sink Node — writes packets to a UDP destination.

Use as the final stage of an RTP streaming pipeline or any Session that forwards data over UDP. For RTP video, place after an H.264 payloader.

Definition at line 40 of file UdpOutput.h.

Public Constructors

UdpOutput()

simaai::neat::UdpOutput::UdpOutput (UdpOutputOptions opt)
inline explicit

Construct with destination + sync options.

Definition at line 43 of file UdpOutput.h.

43 explicit UdpOutput(UdpOutputOptions opt) : opt_(std::move(opt)) {}

Public Member Functions

backend_fragment()

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

GStreamer fragment this Node emits.

Definition at line 54 of file UdpOutput.h.

caps_behavior()

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

Whether the Node negotiates static or dynamic caps.

Definition at line 50 of file UdpOutput.h.

50 NodeCapsBehavior caps_behavior() const override {
51 return NodeCapsBehavior::Dynamic;
52 }

element_names()

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

Deterministic element names this Node will create.

Definition at line 56 of file UdpOutput.h.

kind()

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

Type label for this Node kind.

Definition at line 46 of file UdpOutput.h.

46 std::string kind() const override {
47 return "UdpOutput";
48 }

Private Member Attributes

opt_

UdpOutputOptions simaai::neat::UdpOutput::opt_

Definition at line 59 of file UdpOutput.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.