Core abstractions and helper functions used by all streamer plugins.
More...
|
| file | gstreamer.h |
| | Core streaming interface and helper utilities for the gstreamer module.
|
| |
| file | gstreamerConventions.h |
| | Shared constants and error codes for the gstreamer module.
|
| |
◆ gstreamersMapPtr()
| std::shared_ptr< const gstreamersMap > gstreamer::gstreamersMapPtr |
( |
const std::shared_ptr< GOptions > & | gopts, |
|
|
int | thread_id = -1 ) |
|
inline |
This helper parses all configured output definitions, specializes each one for the requested worker thread, dynamically loads the corresponding plugin, and stores the resulting streamer object in the returned map.
The helper intentionally does not open the backend connection. That step is left to the caller so applications can decide how to handle failures and when to start the output lifetime.
- Parameters
-
| gopts | Parsed options container supplying streamer definitions. |
| thread_id | Worker thread id used to specialize output names. The default leaves names unchanged. |
- Returns
- Shared pointer to a constant map from plugin object name to streamer instance.
Definition at line 581 of file gstreamer.h.