NVIDIA GStreamer DeepStream: Custom Message Functions
Description: This file specifies the NVIDIA DeepStream GStreamer custom message functions.
Definition in file gst-nvcustommessage.h.
Go to the source code of this file.
Functions | |
| G_BEGIN_DECLS GstMessage * | gst_nvmessage_new_stream_add (GstObject *obj, NvDsSensorInfo *sensor_info) |
| Creates a new Stream ADD message - denoting a new stream getting added to nvmultiurisrcbin. More... | |
| gboolean | gst_nvmessage_is_stream_add (GstMessage *message) |
| Determines whether a message is a stream ADD message. More... | |
| gboolean | gst_nvmessage_parse_stream_add (GstMessage *message, NvDsSensorInfo *sensor_info) |
| Parses the stream ID from a stream ADD message. More... | |
| GstMessage * | gst_nvmessage_new_stream_remove (GstObject *obj, NvDsSensorInfo *sensor_info) |
| Creates a new Stream REMOVE message - denoting a new stream getting removed from nvmultiurisrcbin. More... | |
| gboolean | gst_nvmessage_is_stream_remove (GstMessage *message) |
| Determines whether a message is a stream REMOVE message. More... | |
| gboolean | gst_nvmessage_parse_stream_remove (GstMessage *message, NvDsSensorInfo *sensor_info) |
| Parses the stream ID from a stream REMOVE message. More... | |
| gboolean gst_nvmessage_is_stream_add | ( | GstMessage * | message | ) |
Determines whether a message is a stream ADD message.
params[in] message A pointer to the message to be checked.
| gboolean gst_nvmessage_is_stream_remove | ( | GstMessage * | message | ) |
Determines whether a message is a stream REMOVE message.
params[in] message A pointer to the message to be checked.
| G_BEGIN_DECLS GstMessage* gst_nvmessage_new_stream_add | ( | GstObject * | obj, |
| NvDsSensorInfo * | sensor_info | ||
| ) |
Creates a new Stream ADD message - denoting a new stream getting added to nvmultiurisrcbin.
params[in] obj The GStreamer object creating the message. params[in] sensor_info Sensor info of the stream which is getting added into nvmultiurisrcbin
| GstMessage* gst_nvmessage_new_stream_remove | ( | GstObject * | obj, |
| NvDsSensorInfo * | sensor_info | ||
| ) |
Creates a new Stream REMOVE message - denoting a new stream getting removed from nvmultiurisrcbin.
params[in] obj The GStreamer object creating the message. params[in] sensor_info Sensor info of the stream which is getting removed from nvmultiurisrcbin
| gboolean gst_nvmessage_parse_stream_add | ( | GstMessage * | message, |
| NvDsSensorInfo * | sensor_info | ||
| ) |
Parses the stream ID from a stream ADD message.
The stream ID is the index of the stream which is getting added to nvmultiurisrcbin
params[in] message A pointer to a stream ADD message. params[out] stream_id A pointer to NvDsSensorInfo The string NvDsSensorInfo->sensor_id should not be modified, and remains valid until the next call to a gst_nvmessage_parse*() function with the given message. Please use or make copy within the bus callback scope.
| gboolean gst_nvmessage_parse_stream_remove | ( | GstMessage * | message, |
| NvDsSensorInfo * | sensor_info | ||
| ) |
Parses the stream ID from a stream REMOVE message.
The stream ID is the index of the stream which is getting removed from nvmultiurisrcbin
params[in] message A pointer to a stream REMOVE message. params[out] stream_id A pointer to NvDsSensorInfo The string NvDsSensorInfo->sensor_id should not be modified, and remains valid until the next call to a gst_nvmessage_parse*() function with the given message. Please use or make copy within the bus callback scope.