summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtspsrc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-10-04 17:24:40 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-10-04 17:24:40 +0000
commit63c87f18994eb446e2d84d38c7be3dc81232de7d (patch)
tree6fd484a2c931e99e23fd96583a302cc48bb2b0f4 /gst/rtsp/gstrtspsrc.h
parentc85684e2d83ffabe661bdd8aaea1309fa9915a16 (diff)
gst/rtsp/: Factor out extension in separate module.
Original commit message from CVS: * gst/rtsp/Makefile.am: * gst/rtsp/gstrtpdec.c: (gst_rtpdec_getcaps), (gst_rtpdec_chain_rtp), (gst_rtpdec_chain_rtcp): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_init), (gst_rtspsrc_finalize), (gst_rtspsrc_create_stream), (gst_rtspsrc_parse_rtpmap), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_send), (gst_rtspsrc_parse_methods), (gst_rtspsrc_open), (gst_rtspsrc_play), (gst_rtspsrc_handle_message): * gst/rtsp/gstrtspsrc.h: * gst/rtsp/rtspdefs.c: (rtsp_strresult): * gst/rtsp/rtspdefs.h: * gst/rtsp/rtspext.h: * gst/rtsp/rtspextwms.c: (rtsp_ext_wms_parse_sdp), (rtsp_ext_wms_get_context): * gst/rtsp/rtspextwms.h: * gst/rtsp/rtsptransport.c: (rtsp_transport_init), (parse_mode), (rtsp_transport_parse): * gst/rtsp/rtsptransport.h: Factor out extension in separate module. Fix getcaps to filter against the padtemplate. Use Content-Base if the server gives one. Rework the transport parsing a bit for future extensions. Added some Real Header field definitions.
Diffstat (limited to 'gst/rtsp/gstrtspsrc.h')
-rw-r--r--gst/rtsp/gstrtspsrc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h
index 21fb073e..8a9c74fe 100644
--- a/gst/rtsp/gstrtspsrc.h
+++ b/gst/rtsp/gstrtspsrc.h
@@ -50,6 +50,7 @@ G_BEGIN_DECLS
#include "gstrtsp.h"
#include "rtsp.h"
+#include "rtspext.h"
#define GST_TYPE_RTSPSRC \
(gst_rtspsrc_get_type())
@@ -142,6 +143,7 @@ struct _GstRTSPSrc {
gchar *location;
RTSPUrl *url;
+ gchar *content_base;
GstRTSPProto protocols;
gboolean debug;
guint retry;
@@ -153,6 +155,8 @@ struct _GstRTSPSrc {
RTSPConnection *connection;
RTSPMessage *request;
RTSPMessage *response;
+
+ RTSPExtensionCtx *extension;
};
struct _GstRTSPSrcClass {
@@ -161,6 +165,10 @@ struct _GstRTSPSrcClass {
GType gst_rtspsrc_get_type(void);
+gboolean gst_rtspsrc_send (GstRTSPSrc * src, RTSPMessage * request,
+ RTSPMessage * response, RTSPStatusCode * code);
+
+
G_END_DECLS
#endif /* __GST_RTSPSRC_H__ */