summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtspsrc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-07-25 18:50:08 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-07-25 18:50:08 +0000
commitfa9c47f14d6b5ff16150854c5718a7c5f34fd0dc (patch)
treea1e4c5c7b166215b5837f612775ba61cda181aab /gst/rtsp/gstrtspsrc.h
parent8e316c0023cf3a776c93c9b731c0cad6322aafb6 (diff)
gst/rtsp/: Use shiny new RTSP and SDP library.
Original commit message from CVS: * gst/rtsp/Makefile.am: * gst/rtsp/base64.c: * gst/rtsp/base64.h: * gst/rtsp/gstrtspext.c: (gst_rtsp_ext_list_filter), (gst_rtsp_ext_list_init), (gst_rtsp_ext_list_get), (gst_rtsp_ext_list_detect_server), (gst_rtsp_ext_list_before_send), (gst_rtsp_ext_list_after_send), (gst_rtsp_ext_list_parse_sdp), (gst_rtsp_ext_list_setup_media), (gst_rtsp_ext_list_configure_stream), (gst_rtsp_ext_list_get_transports), (gst_rtsp_ext_list_stream_select): * gst/rtsp/gstrtspext.h: * gst/rtsp/gstrtspsrc.c: (gst_rtsp_lower_trans_get_type), (gst_rtspsrc_class_init), (gst_rtspsrc_init), (gst_rtspsrc_finalize), (gst_rtspsrc_create_stream), (gst_rtspsrc_parse_rtpmap), (gst_rtspsrc_media_to_caps), (gst_rtspsrc_flush), (gst_rtspsrc_do_seek), (gst_rtspsrc_sink_chain), (gst_rtspsrc_stream_configure_manager), (gst_rtspsrc_stream_configure_tcp), (gst_rtspsrc_stream_configure_mcast), (gst_rtspsrc_stream_configure_udp), (gst_rtspsrc_stream_configure_udp_sink), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_handle_request), (gst_rtspsrc_send_keep_alive), (gst_rtspsrc_loop_interleaved), (gst_rtspsrc_loop_udp), (gst_rtspsrc_loop_send_cmd), (gst_rtsp_auth_method_to_string), (gst_rtspsrc_parse_auth_hdr), (gst_rtspsrc_setup_auth), (gst_rtspsrc_try_send), (gst_rtspsrc_send), (gst_rtspsrc_parse_methods), (gst_rtspsrc_create_transports_string), (gst_rtspsrc_prepare_transports), (gst_rtspsrc_setup_streams), (gst_rtspsrc_parse_range), (gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause), (gst_rtspsrc_change_state), (gst_rtspsrc_uri_set_uri): * gst/rtsp/gstrtspsrc.h: * gst/rtsp/rtsp.h: * gst/rtsp/rtspconnection.c: * gst/rtsp/rtspconnection.h: * gst/rtsp/rtspdefs.c: * gst/rtsp/rtspdefs.h: * gst/rtsp/rtspext.h: * gst/rtsp/rtspextwms.c: * gst/rtsp/rtspextwms.h: * gst/rtsp/rtspmessage.c: * gst/rtsp/rtspmessage.h: * gst/rtsp/rtsprange.c: * gst/rtsp/rtsprange.h: * gst/rtsp/rtsptransport.c: * gst/rtsp/rtsptransport.h: * gst/rtsp/rtspurl.c: * gst/rtsp/rtspurl.h: * gst/rtsp/sdp.h: * gst/rtsp/sdpmessage.c: * gst/rtsp/sdpmessage.h: * gst/rtsp/test.c: Use shiny new RTSP and SDP library. Implement RTSP extensions using the new interface. Remove a lot of old code.
Diffstat (limited to 'gst/rtsp/gstrtspsrc.h')
-rw-r--r--gst/rtsp/gstrtspsrc.h48
1 files changed, 23 insertions, 25 deletions
diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h
index d51e99cf..e0b32e9f 100644
--- a/gst/rtsp/gstrtspsrc.h
+++ b/gst/rtsp/gstrtspsrc.h
@@ -48,8 +48,11 @@
G_BEGIN_DECLS
-#include "gstrtsp.h"
-#include "rtsp.h"
+#include <gst/rtsp/gstrtspconnection.h>
+#include <gst/rtsp/gstrtspmessage.h>
+#include <gst/rtsp/gstrtspurl.h>
+
+#include "gstrtspext.h"
#define GST_TYPE_RTSPSRC \
(gst_rtspsrc_get_type())
@@ -77,8 +80,6 @@ typedef struct _GstRTSPSrcClass GstRTSPSrcClass;
typedef struct _GstRTSPStream GstRTSPStream;
-#include "rtspext.h"
-
struct _GstRTSPStream {
gint id;
@@ -142,34 +143,35 @@ struct _GstRTSPSrc {
gboolean need_activate;
/* properties */
- gchar *location;
- gchar *req_location; /* Sanitised URL to use in network requests */
- RTSPUrl *url;
- RTSPLowerTrans protocols;
- gboolean debug;
- guint retry;
- guint64 udp_timeout;
- GTimeVal tcp_timeout;
- guint latency;
+ gchar *location;
+ gchar *req_location; /* Sanitised URL to use in network requests */
+ GstRTSPUrl *url;
+ GstRTSPLowerTrans protocols;
+ gboolean debug;
+ guint retry;
+ guint64 udp_timeout;
+ GTimeVal tcp_timeout;
+ guint latency;
/* state */
- RTSPState state;
- gchar *content_base;
- RTSPLowerTrans cur_protocols;
- gboolean tried_url_auth;
- gchar *addr;
+ GstRTSPState state;
+ gchar *content_base;
+ GstRTSPLowerTrans cur_protocols;
+ gboolean tried_url_auth;
+ gchar *addr;
/* supported methods */
- gint methods;
+ gint methods;
/* session management */
GstElement *session;
gulong session_sig_id;
gulong session_ptmap_id;
- RTSPConnection *connection;
+ GstRTSPConnection *connection;
- RTSPExtensionCtx *extension;
+ /* a list of RTSP extensions as GstElement */
+ GstRTSPExtensionList *extensions;
};
struct _GstRTSPSrcClass {
@@ -178,10 +180,6 @@ 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__ */