gstreamer
Loading...
Searching...
No Matches
gstreamer Namespace Reference

Namespaces

namespace  root

Typedefs

using gstreamersMap = std::unordered_map<std::string, std::shared_ptr<GStreamer>>

Functions

std::shared_ptr< const gstreamersMapgstreamersMapPtr (const std::shared_ptr< GOptions > &gopts, int thread_id=-1)
 Create a per-thread map of configured streamer instances.
std::shared_ptr< const gstreamersMappreloadGStreamerPlugins (const std::shared_ptr< GOptions > &gopts)
 Preload configured streamer plugins before worker threads are started.
vector< GStreamerDefinitiongetGStreamerDefinition (const std::shared_ptr< GOptions > &gopts)
 Parse all configured gstreamer output definitions from the options container.
GOptions defineOptions ()
 Define the options contributed by the gstreamer module.

Variables

constexpr int DEFAULT_GSTREAMER_BUFFER_FLUSH_LIMIT = 100
 Default number of buffered events before a GStreamer instance flushes its internal buffer.
gstreamer error codes

Error and diagnostic codes reserved for the gstreamer module.

These values are grouped in the 800 range so gstreamer-related failures remain easy to identify in logs and error reports.

constexpr int ERR_GSTREAMERFACTORYNOTFOUND = 801
constexpr int ERR_GSTREAMERVARIABLEEXISTS = 802
 Duplicate variable registration was attempted in a streamer-specific schema.
constexpr int ERR_CANTOPENOUTPUT = 803
 Output medium could not be opened successfully.
constexpr int ERR_CANTCLOSEOUTPUT = 804
 Output medium could not be closed cleanly.
constexpr int ERR_PUBLISH_ERROR = 805
 Publish sequence encountered invalid state or invalid input data.

Typedef Documentation

◆ gstreamersMap

using gstreamer::gstreamersMap = std::unordered_map<std::string, std::shared_ptr<GStreamer>>

Definition at line 606 of file gstreamer.h.

Variable Documentation

◆ DEFAULT_GSTREAMER_BUFFER_FLUSH_LIMIT

int gstreamer::DEFAULT_GSTREAMER_BUFFER_FLUSH_LIMIT = 100
inlineconstexpr

This value is used when the user does not override buffering through the ebuffer option. The actual runtime limit is stored per streamer instance and may be updated from configuration through set_loggers().

Definition at line 18 of file gstreamerConventions.h.

◆ ERR_CANTCLOSEOUTPUT

int gstreamer::ERR_CANTCLOSEOUTPUT = 804
inlineconstexpr

Definition at line 35 of file gstreamerConventions.h.

◆ ERR_CANTOPENOUTPUT

int gstreamer::ERR_CANTOPENOUTPUT = 803
inlineconstexpr

Definition at line 33 of file gstreamerConventions.h.

◆ ERR_GSTREAMERFACTORYNOTFOUND

int gstreamer::ERR_GSTREAMERFACTORYNOTFOUND = 801
inlineconstexpr

Plugin factory symbol could not be resolved.

Definition at line 29 of file gstreamerConventions.h.

◆ ERR_GSTREAMERVARIABLEEXISTS

int gstreamer::ERR_GSTREAMERVARIABLEEXISTS = 802
inlineconstexpr

Definition at line 31 of file gstreamerConventions.h.

◆ ERR_PUBLISH_ERROR

int gstreamer::ERR_PUBLISH_ERROR = 805
inlineconstexpr

Definition at line 37 of file gstreamerConventions.h.