summaryrefslogtreecommitdiffstats
path: root/gst/rtsp/gstrtspsrc.h
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-02-23 18:12:27 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-02-23 18:12:27 +0000
commit66df66daa21fe69c698a4a46173a3ac011bd65a1 (patch)
treee661157d21527de7bb41eaf2b50905d1a193e4bc /gst/rtsp/gstrtspsrc.h
parentfff672f930932ae0466d97011b2258df00f4ce55 (diff)
gst/rtsp/: Implement simple Basic Authentication support so that urls like rtsp://user:pass@hostname/rtspstream work ...
Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_finalize), (gst_rtspsrc_create_stream), (rtsp_auth_method_to_string), (gst_rtspsrc_parse_auth_hdr), (gst_rtspsrc_setup_auth), (gst_rtspsrc_send), (gst_rtspsrc_try_send), (gst_rtspsrc_open), (gst_rtspsrc_close), (gst_rtspsrc_play), (gst_rtspsrc_pause), (gst_rtspsrc_uri_set_uri): * gst/rtsp/gstrtspsrc.h: * gst/rtsp/rtspconnection.c: (rtsp_connection_create), (append_auth_header), (rtsp_connection_send), (rtsp_connection_free), (rtsp_connection_set_auth): * gst/rtsp/rtspconnection.h: * gst/rtsp/rtspdefs.h: * gst/rtsp/rtspurl.c: (rtsp_url_get_request_uri): * gst/rtsp/rtspurl.h: Implement simple Basic Authentication support so that urls like rtsp://user:pass@hostname/rtspstream work on hosts that require authentication.
Diffstat (limited to 'gst/rtsp/gstrtspsrc.h')
-rw-r--r--gst/rtsp/gstrtspsrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h
index 8f42895f..e491d50a 100644
--- a/gst/rtsp/gstrtspsrc.h
+++ b/gst/rtsp/gstrtspsrc.h
@@ -130,6 +130,7 @@ struct _GstRTSPSrc {
/* properties */
gchar *location;
+ gchar *req_location; /* Sanitised URL to use in network requests */
RTSPUrl *url;
RTSPLowerTrans protocols;
gboolean debug;
@@ -139,6 +140,7 @@ struct _GstRTSPSrc {
/* state */
gchar *content_base;
RTSPLowerTrans cur_protocols;
+ gboolean tried_url_auth;
/* supported methods */
gint methods;