Publish incoming data streams as a MQTT topic. More...
#include <gst/base/gstbasesink.h>
#include <gst/gst.h>
#include <MQTTAsync.h>
#include "mqttcommon.h"
Go to the source code of this file.
Classes | |
struct | _GstMqttSink |
GstMqttSink data structure. More... | |
struct | _GstMqttSinkClass |
GstMqttSinkClass data structure. More... | |
Macros | |
#define | GST_TYPE_MQTT_SINK (gst_mqtt_sink_get_type()) |
#define | GST_MQTT_SINK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_MQTT_SINK, GstMqttSink)) |
#define | GST_IS_MQTT_SINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_MQTT_SINK)) |
#define | GST_MQTT_SINK_CAST(obj) ((GstMqttSink *) obj) |
#define | GST_MQTT_SINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_MQTT_SINK, GstMqttSinkClass)) |
#define | GST_IS_MQTT_SINK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MQTT_SINK)) |
Typedefs | |
typedef struct _GstMqttSink | GstMqttSink |
typedef struct _GstMqttSinkClass | GstMqttSinkClass |
typedef enum _mqtt_sink_state_t | mqtt_sink_state_t |
A type definition to indicate the state of this element. More... | |
Enumerations | |
enum | _mqtt_sink_state_t { MQTT_CONNECTION_LOST = -3, MQTT_CONNECT_FAILURE = -2, SINK_INITIALIZING = -1, SINK_RENDER_STOPPED = 0, SINK_RENDER_EOS, SINK_RENDER_ERROR, MQTT_CONNECTED, MQTT_DISCONNECTED, MQTT_DISCONNECT_FAILED } |
A type definition to indicate the state of this element. More... | |
Functions | |
GType | gst_mqtt_sink_get_type (void) |
Publish incoming data streams as a MQTT topic.
Copyright (C) 2021 Wook Song wook1 6.so ng@sa msun g.com
Definition in file mqttsink.h.
#define GST_IS_MQTT_SINK | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_MQTT_SINK)) |
Definition at line 28 of file mqttsink.h.
#define GST_IS_MQTT_SINK_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MQTT_SINK)) |
Definition at line 34 of file mqttsink.h.
#define GST_MQTT_SINK | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_MQTT_SINK, GstMqttSink)) |
Definition at line 26 of file mqttsink.h.
#define GST_MQTT_SINK_CAST | ( | obj | ) | ((GstMqttSink *) obj) |
Definition at line 30 of file mqttsink.h.
#define GST_MQTT_SINK_CLASS | ( | klass | ) | (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_MQTT_SINK, GstMqttSinkClass)) |
Definition at line 32 of file mqttsink.h.
#define GST_TYPE_MQTT_SINK (gst_mqtt_sink_get_type()) |
Definition at line 24 of file mqttsink.h.
typedef struct _GstMqttSink GstMqttSink |
Definition at line 37 of file mqttsink.h.
typedef struct _GstMqttSinkClass GstMqttSinkClass |
Definition at line 38 of file mqttsink.h.
typedef enum _mqtt_sink_state_t mqtt_sink_state_t |
A type definition to indicate the state of this element.
enum _mqtt_sink_state_t |
A type definition to indicate the state of this element.
Enumerator | |
---|---|
MQTT_CONNECTION_LOST | |
MQTT_CONNECT_FAILURE | |
SINK_INITIALIZING | |
SINK_RENDER_STOPPED | |
SINK_RENDER_EOS | |
SINK_RENDER_ERROR | |
MQTT_CONNECTED | |
MQTT_DISCONNECTED | |
MQTT_DISCONNECT_FAILED |
Definition at line 43 of file mqttsink.h.
GType gst_mqtt_sink_get_type | ( | void | ) |