2012-10-25 19:29:58 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 2008 Wim Taymans <wim.taymans at gmail.com>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
2012-11-04 00:14:25 +00:00
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
2012-10-25 19:29:58 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
2015-05-20 14:05:47 +00:00
|
|
|
#include <gst/rtsp/rtsp.h>
|
2013-05-30 06:07:48 +00:00
|
|
|
#include <gio/gio.h>
|
2012-10-25 19:29:58 +00:00
|
|
|
|
|
|
|
#ifndef __GST_RTSP_STREAM_H__
|
|
|
|
#define __GST_RTSP_STREAM_H__
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
/* types for the media stream */
|
|
|
|
#define GST_TYPE_RTSP_STREAM (gst_rtsp_stream_get_type ())
|
|
|
|
#define GST_IS_RTSP_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_RTSP_STREAM))
|
|
|
|
#define GST_IS_RTSP_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_RTSP_STREAM))
|
|
|
|
#define GST_RTSP_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_RTSP_STREAM, GstRTSPStreamClass))
|
|
|
|
#define GST_RTSP_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_RTSP_STREAM, GstRTSPStream))
|
|
|
|
#define GST_RTSP_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_RTSP_STREAM, GstRTSPStreamClass))
|
|
|
|
#define GST_RTSP_STREAM_CAST(obj) ((GstRTSPStream*)(obj))
|
|
|
|
#define GST_RTSP_STREAM_CLASS_CAST(klass) ((GstRTSPStreamClass*)(klass))
|
|
|
|
|
|
|
|
typedef struct _GstRTSPStream GstRTSPStream;
|
|
|
|
typedef struct _GstRTSPStreamClass GstRTSPStreamClass;
|
2012-11-29 10:11:05 +00:00
|
|
|
typedef struct _GstRTSPStreamPrivate GstRTSPStreamPrivate;
|
2012-10-25 19:29:58 +00:00
|
|
|
|
|
|
|
#include "rtsp-stream-transport.h"
|
2012-11-15 14:36:21 +00:00
|
|
|
#include "rtsp-address-pool.h"
|
2013-11-18 10:18:15 +00:00
|
|
|
#include "rtsp-session.h"
|
2015-12-30 16:39:05 +00:00
|
|
|
#include "rtsp-media.h"
|
2012-10-25 19:29:58 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* GstRTSPStream:
|
|
|
|
*
|
2012-11-29 10:11:05 +00:00
|
|
|
* The definition of a media stream.
|
2012-10-25 19:29:58 +00:00
|
|
|
*/
|
|
|
|
struct _GstRTSPStream {
|
|
|
|
GObject parent;
|
|
|
|
|
2013-07-11 10:24:33 +00:00
|
|
|
/*< private >*/
|
2012-11-29 10:11:05 +00:00
|
|
|
GstRTSPStreamPrivate *priv;
|
2015-02-11 17:24:38 +00:00
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
|
|
|
};
|
2012-10-25 19:29:58 +00:00
|
|
|
|
|
|
|
struct _GstRTSPStreamClass {
|
|
|
|
GObjectClass parent_class;
|
2013-12-12 00:36:07 +00:00
|
|
|
|
|
|
|
/*< private >*/
|
|
|
|
gpointer _gst_reserved[GST_PADDING];
|
2012-10-25 19:29:58 +00:00
|
|
|
};
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-10-25 19:29:58 +00:00
|
|
|
GType gst_rtsp_stream_get_type (void);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-10-25 19:29:58 +00:00
|
|
|
GstRTSPStream * gst_rtsp_stream_new (guint idx, GstElement *payloader,
|
2015-01-09 11:40:47 +00:00
|
|
|
GstPad *pad);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
guint gst_rtsp_stream_get_index (GstRTSPStream *stream);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-11-15 20:14:32 +00:00
|
|
|
guint gst_rtsp_stream_get_pt (GstRTSPStream *stream);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-04-22 15:32:31 +00:00
|
|
|
GstPad * gst_rtsp_stream_get_srcpad (GstRTSPStream *stream);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2015-01-09 11:40:47 +00:00
|
|
|
GstPad * gst_rtsp_stream_get_sinkpad (GstRTSPStream *stream);
|
2012-10-25 19:29:58 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-07-02 12:44:35 +00:00
|
|
|
void gst_rtsp_stream_set_control (GstRTSPStream *stream, const gchar *control);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-07-02 12:44:35 +00:00
|
|
|
gchar * gst_rtsp_stream_get_control (GstRTSPStream *stream);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-07-03 13:13:45 +00:00
|
|
|
gboolean gst_rtsp_stream_has_control (GstRTSPStream *stream, const gchar *control);
|
2013-07-02 12:44:35 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
void gst_rtsp_stream_set_mtu (GstRTSPStream *stream, guint mtu);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
guint gst_rtsp_stream_get_mtu (GstRTSPStream *stream);
|
2012-10-26 10:04:02 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-06-24 08:43:59 +00:00
|
|
|
void gst_rtsp_stream_set_dscp_qos (GstRTSPStream *stream, gint dscp_qos);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-06-24 08:43:59 +00:00
|
|
|
gint gst_rtsp_stream_get_dscp_qos (GstRTSPStream *stream);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2014-01-07 11:14:15 +00:00
|
|
|
gboolean gst_rtsp_stream_is_transport_supported (GstRTSPStream *stream,
|
|
|
|
GstRTSPTransport *transport);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2014-01-07 11:21:09 +00:00
|
|
|
void gst_rtsp_stream_set_profiles (GstRTSPStream *stream, GstRTSPProfile profiles);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2014-01-07 11:21:09 +00:00
|
|
|
GstRTSPProfile gst_rtsp_stream_get_profiles (GstRTSPStream *stream);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-08-16 14:08:43 +00:00
|
|
|
void gst_rtsp_stream_set_protocols (GstRTSPStream *stream, GstRTSPLowerTrans protocols);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-08-16 14:08:43 +00:00
|
|
|
GstRTSPLowerTrans gst_rtsp_stream_get_protocols (GstRTSPStream *stream);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-11-15 14:36:21 +00:00
|
|
|
void gst_rtsp_stream_set_address_pool (GstRTSPStream *stream, GstRTSPAddressPool *pool);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2012-11-15 14:36:21 +00:00
|
|
|
GstRTSPAddressPool *
|
|
|
|
gst_rtsp_stream_get_address_pool (GstRTSPStream *stream);
|
2016-03-02 17:42:13 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2016-03-02 17:42:13 +00:00
|
|
|
void gst_rtsp_stream_set_multicast_iface (GstRTSPStream *stream, const gchar * multicast_iface);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2016-03-02 17:42:13 +00:00
|
|
|
gchar * gst_rtsp_stream_get_multicast_iface (GstRTSPStream *stream);
|
2012-11-15 14:36:21 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-02-13 23:32:20 +00:00
|
|
|
GstRTSPAddress * gst_rtsp_stream_reserve_address (GstRTSPStream *stream,
|
|
|
|
const gchar * address,
|
|
|
|
guint port,
|
|
|
|
guint n_ports,
|
|
|
|
guint ttl);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
gboolean gst_rtsp_stream_join_bin (GstRTSPStream *stream,
|
2012-10-26 15:28:10 +00:00
|
|
|
GstBin *bin, GstElement *rtpbin,
|
|
|
|
GstState state);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
gboolean gst_rtsp_stream_leave_bin (GstRTSPStream *stream,
|
2012-10-25 19:29:58 +00:00
|
|
|
GstBin *bin, GstElement *rtpbin);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2015-12-30 16:39:05 +00:00
|
|
|
GstBin * gst_rtsp_stream_get_joined_bin (GstRTSPStream *stream);
|
2012-10-25 19:29:58 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-11-28 12:42:21 +00:00
|
|
|
gboolean gst_rtsp_stream_set_blocked (GstRTSPStream * stream,
|
|
|
|
gboolean blocked);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-11-28 12:42:21 +00:00
|
|
|
gboolean gst_rtsp_stream_is_blocking (GstRTSPStream * stream);
|
|
|
|
|
2017-10-17 08:44:33 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
|
|
|
gboolean gst_rtsp_stream_unblock_linked (GstRTSPStream * stream);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2015-11-16 14:12:28 +00:00
|
|
|
void gst_rtsp_stream_set_client_side (GstRTSPStream *stream, gboolean client_side);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2015-11-16 14:12:28 +00:00
|
|
|
gboolean gst_rtsp_stream_is_client_side (GstRTSPStream *stream);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
void gst_rtsp_stream_get_server_port (GstRTSPStream *stream,
|
2013-05-30 06:07:48 +00:00
|
|
|
GstRTSPRange *server_port,
|
|
|
|
GSocketFamily family);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-07-01 14:46:07 +00:00
|
|
|
GstRTSPAddress * gst_rtsp_stream_get_multicast_address (GstRTSPStream *stream,
|
|
|
|
GSocketFamily family);
|
|
|
|
|
2013-06-24 18:41:27 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-06-24 18:41:27 +00:00
|
|
|
GObject * gst_rtsp_stream_get_rtpsession (GstRTSPStream *stream);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2016-04-15 05:56:11 +00:00
|
|
|
GstElement * gst_rtsp_stream_get_srtp_encoder (GstRTSPStream *stream);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
void gst_rtsp_stream_get_ssrc (GstRTSPStream *stream,
|
|
|
|
guint *ssrc);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
gboolean gst_rtsp_stream_get_rtpinfo (GstRTSPStream *stream,
|
2013-12-26 13:43:35 +00:00
|
|
|
guint *rtptime, guint *seq,
|
2013-12-26 16:02:50 +00:00
|
|
|
guint *clock_rate,
|
2013-12-26 13:43:35 +00:00
|
|
|
GstClockTime *running_time);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2012-11-29 10:11:05 +00:00
|
|
|
GstCaps * gst_rtsp_stream_get_caps (GstRTSPStream *stream);
|
2012-10-25 19:29:58 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-10-25 19:29:58 +00:00
|
|
|
GstFlowReturn gst_rtsp_stream_recv_rtp (GstRTSPStream *stream,
|
|
|
|
GstBuffer *buffer);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2012-10-25 19:29:58 +00:00
|
|
|
GstFlowReturn gst_rtsp_stream_recv_rtcp (GstRTSPStream *stream,
|
|
|
|
GstBuffer *buffer);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2012-10-25 19:29:58 +00:00
|
|
|
gboolean gst_rtsp_stream_add_transport (GstRTSPStream *stream,
|
|
|
|
GstRTSPStreamTransport *trans);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2012-10-25 19:29:58 +00:00
|
|
|
gboolean gst_rtsp_stream_remove_transport (GstRTSPStream *stream,
|
|
|
|
GstRTSPStreamTransport *trans);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-11-12 11:04:55 +00:00
|
|
|
GSocket * gst_rtsp_stream_get_rtp_socket (GstRTSPStream *stream,
|
|
|
|
GSocketFamily family);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2013-11-12 11:04:55 +00:00
|
|
|
GSocket * gst_rtsp_stream_get_rtcp_socket (GstRTSPStream *stream,
|
|
|
|
GSocketFamily family);
|
|
|
|
|
2017-10-16 09:15:55 +00:00
|
|
|
GST_EXPORT
|
|
|
|
GSocket * gst_rtsp_stream_get_rtp_multicast_socket (GstRTSPStream *stream,
|
|
|
|
GSocketFamily family);
|
|
|
|
|
|
|
|
GST_EXPORT
|
|
|
|
GSocket * gst_rtsp_stream_get_rtcp_multicast_socket (GstRTSPStream *stream,
|
|
|
|
GSocketFamily family);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2014-04-02 10:36:16 +00:00
|
|
|
gboolean gst_rtsp_stream_update_crypto (GstRTSPStream * stream,
|
|
|
|
guint ssrc, GstCaps * crypto);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2014-08-05 14:12:19 +00:00
|
|
|
gboolean gst_rtsp_stream_query_position (GstRTSPStream * stream,
|
|
|
|
gint64 * position);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2014-08-05 14:12:19 +00:00
|
|
|
gboolean gst_rtsp_stream_query_stop (GstRTSPStream * stream,
|
|
|
|
gint64 * stop);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2014-09-08 07:26:23 +00:00
|
|
|
void gst_rtsp_stream_set_seqnum_offset (GstRTSPStream *stream, guint16 seqnum);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2014-09-08 07:26:23 +00:00
|
|
|
guint16 gst_rtsp_stream_get_current_seqnum (GstRTSPStream *stream);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2014-11-26 14:12:36 +00:00
|
|
|
void gst_rtsp_stream_set_retransmission_time (GstRTSPStream *stream, GstClockTime time);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2014-11-26 14:12:36 +00:00
|
|
|
GstClockTime gst_rtsp_stream_get_retransmission_time (GstRTSPStream *stream);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2014-11-26 14:12:36 +00:00
|
|
|
guint gst_rtsp_stream_get_retransmission_pt (GstRTSPStream * stream);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2014-11-26 14:12:36 +00:00
|
|
|
void gst_rtsp_stream_set_retransmission_pt (GstRTSPStream * stream,
|
|
|
|
guint rtx_pt);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2015-08-31 12:48:34 +00:00
|
|
|
void gst_rtsp_stream_set_buffer_size (GstRTSPStream *stream, guint size);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2015-08-31 12:48:34 +00:00
|
|
|
guint gst_rtsp_stream_get_buffer_size (GstRTSPStream *stream);
|
2014-09-08 07:26:23 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2015-01-09 11:40:47 +00:00
|
|
|
void gst_rtsp_stream_set_pt_map (GstRTSPStream * stream, guint pt, GstCaps * caps);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2015-04-15 00:45:23 +00:00
|
|
|
GstElement * gst_rtsp_stream_request_aux_sender (GstRTSPStream * stream, guint sessid);
|
2016-02-23 13:59:32 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2016-02-23 13:59:32 +00:00
|
|
|
gboolean gst_rtsp_stream_allocate_udp_sockets (GstRTSPStream * stream, GSocketFamily family,
|
2017-10-17 08:44:33 +00:00
|
|
|
GstRTSPTransport *transport, gboolean use_client_settings);
|
2015-12-30 16:39:05 +00:00
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2015-12-30 16:39:05 +00:00
|
|
|
void gst_rtsp_stream_set_publish_clock_mode (GstRTSPStream * stream, GstRTSPPublishClockMode mode);
|
2017-05-18 09:35:18 +00:00
|
|
|
|
|
|
|
GST_EXPORT
|
2015-12-30 16:39:05 +00:00
|
|
|
GstRTSPPublishClockMode gst_rtsp_stream_get_publish_clock_mode (GstRTSPStream * stream);
|
|
|
|
|
2017-10-17 08:44:33 +00:00
|
|
|
GST_EXPORT
|
|
|
|
gboolean gst_rtsp_stream_complete_stream (GstRTSPStream * stream, const GstRTSPTransport * transport);
|
|
|
|
|
2017-10-23 07:49:09 +00:00
|
|
|
GST_EXPORT
|
|
|
|
gboolean gst_rtsp_stream_is_complete (GstRTSPStream * stream);
|
|
|
|
|
2013-11-18 10:18:15 +00:00
|
|
|
/**
|
|
|
|
* GstRTSPStreamTransportFilterFunc:
|
|
|
|
* @stream: a #GstRTSPStream object
|
|
|
|
* @trans: a #GstRTSPStreamTransport in @stream
|
|
|
|
* @user_data: user data that has been given to gst_rtsp_stream_transport_filter()
|
|
|
|
*
|
|
|
|
* This function will be called by the gst_rtsp_stream_transport_filter(). An
|
|
|
|
* implementation should return a value of #GstRTSPFilterResult.
|
|
|
|
*
|
|
|
|
* When this function returns #GST_RTSP_FILTER_REMOVE, @trans will be removed
|
|
|
|
* from @stream.
|
|
|
|
*
|
|
|
|
* A return value of #GST_RTSP_FILTER_KEEP will leave @trans untouched in
|
|
|
|
* @stream.
|
|
|
|
*
|
|
|
|
* A value of #GST_RTSP_FILTER_REF will add @trans to the result #GList of
|
|
|
|
* gst_rtsp_stream_transport_filter().
|
|
|
|
*
|
|
|
|
* Returns: a #GstRTSPFilterResult.
|
|
|
|
*/
|
|
|
|
typedef GstRTSPFilterResult (*GstRTSPStreamTransportFilterFunc) (GstRTSPStream *stream,
|
|
|
|
GstRTSPStreamTransport *trans,
|
|
|
|
gpointer user_data);
|
|
|
|
|
2017-05-18 09:35:18 +00:00
|
|
|
GST_EXPORT
|
2013-11-18 10:18:15 +00:00
|
|
|
GList * gst_rtsp_stream_transport_filter (GstRTSPStream *stream,
|
|
|
|
GstRTSPStreamTransportFilterFunc func,
|
|
|
|
gpointer user_data);
|
|
|
|
|
2015-11-10 19:17:18 +00:00
|
|
|
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstRTSPStream, gst_object_unref)
|
|
|
|
#endif
|
|
|
|
|
2012-10-25 19:29:58 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GST_RTSP_STREAM_H__ */
|