Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1256>
join_paths(root_rel, 'ext/*/*.cc'),
join_paths(root_rel, 'ext/*/*.hh'),
join_paths(root_rel, 'gst/*/*.[ch]'),
+ join_paths(root_rel, 'gst/rtmp2/*/*.[ch]'),
],
dependencies: [gst_dep, plugins],
install: false,
g_param_spec_boxed ("stats", "Stats", "Retrieve a statistics structure",
GST_TYPE_STRUCTURE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+ /**
+ * GstRtmp2Sink:stop-commands:
+ *
+ * Which commands (if any) to send on EOS event before closing connection
+ *
+ * Since: 1.18
+ */
g_object_class_install_property (gobject_class, PROP_STOP_COMMANDS,
g_param_spec_flags ("stop-commands", "Stop commands",
"RTMP commands to send on EOS event before closing connection",
#define GST_RTMP_DEFAULT_STOP_COMMANDS (GST_RTMP_STOP_COMMANDS_FCUNPUBLISH | \
GST_RTMP_STOP_COMMANDS_DELETE_STREAM) /* FCUnpublish + deleteStream */
+/**
+ * GstRtmpStopCommands:
+ * @GST_RTMP_STOP_COMMANDS_NONE: Don't send any commands
+ * @GST_RTMP_STOP_COMMANDS_FCUNPUBLISH: Send FCUnpublish command
+ * @GST_RTMP_STOP_COMMANDS_CLOSE_STREAM: Send closeStream command
+ * @GST_RTMP_STOP_COMMANDS_DELETE_STREAM: Send deleteStream command
+ *
+ * Since: 1.18
+ */
typedef enum
{
GST_RTMP_STOP_COMMANDS_NONE = 0,