diff options
Diffstat (limited to 'gst/rtmp2/rtmp/rtmpclient.h')
-rw-r--r-- | gst/rtmp2/rtmp/rtmpclient.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/gst/rtmp2/rtmp/rtmpclient.h b/gst/rtmp2/rtmp/rtmpclient.h index 2ab0774f9..d70574a1a 100644 --- a/gst/rtmp2/rtmp/rtmpclient.h +++ b/gst/rtmp2/rtmp/rtmpclient.h @@ -56,6 +56,22 @@ GType gst_rtmp_authmod_get_type (void); +#define GST_TYPE_RTMP_STOP_COMMANDS (gst_rtmp_stop_commands_get_type ()) +#define GST_RTMP_DEFAULT_STOP_COMMANDS (GST_RTMP_STOP_COMMANDS_FCUNPUBLISH | \ + GST_RTMP_STOP_COMMANDS_DELETE_STREAM) /* FCUnpublish + deleteStream */ + +typedef enum +{ + GST_RTMP_STOP_COMMANDS_NONE = 0, + GST_RTMP_STOP_COMMANDS_FCUNPUBLISH = (1 << 0), + GST_RTMP_STOP_COMMANDS_CLOSE_STREAM = (1 << 1), + GST_RTMP_STOP_COMMANDS_DELETE_STREAM = (1 << 2) +} GstRtmpStopCommands; + +GType gst_rtmp_stop_commands_get_type (void); + + + typedef struct _GstRtmpLocation { GstRtmpScheme scheme; @@ -73,14 +89,6 @@ typedef struct _GstRtmpLocation gboolean publish; } GstRtmpLocation; -typedef enum -{ - GST_RTMP_STOP_COMMAND_NONE = 0, - GST_RTMP_STOP_COMMAND_FCUNPUBLISH = (1 << 0), - GST_RTMP_STOP_COMMAND_CLOSE_STREAM = (1 << 1), - GST_RTMP_STOP_COMMAND_DELETE_STREAM = (1 << 2) -} GstRtmpStopCommands; - void gst_rtmp_location_copy (GstRtmpLocation * dest, const GstRtmpLocation * src); void gst_rtmp_location_clear (GstRtmpLocation * uri); |