rtsp: Add support for the Authentication-Info header.
authorPeter Kjellerstedt <pkj@axis.com>
Mon, 24 Aug 2009 09:24:27 +0000 (11:24 +0200)
committerPeter Kjellerstedt <pkj@axis.com>
Mon, 24 Aug 2009 09:24:27 +0000 (11:24 +0200)
The Authentication-Info header is defined in RFC 2617 (Digest Access
Authentication).

gst-libs/gst/rtsp/gstrtspdefs.c
gst-libs/gst/rtsp/gstrtspdefs.h

index 890086e..84eeb80 100644 (file)
@@ -186,6 +186,8 @@ static const gchar *rtsp_headers[] = {
   "X-StartupProfile",           /* X-StartupProfile */
   "Timestamp",                  /* Timestamp */
 
+  "Authentication-Info",        /* Authentication-Info */
+
   NULL
 };
 
index 6b268ea..63c3a76 100644 (file)
@@ -311,8 +311,12 @@ typedef enum {
   GST_RTSP_HDR_X_STARTUPPROFILE,    /* X-StartupProfile */
 
   /* Since 0.10.24 */
-  GST_RTSP_HDR_TIMESTAMP            /* Timestamp */
+  GST_RTSP_HDR_TIMESTAMP,           /* Timestamp */
 
+  /* Since 0.10.25 */
+  GST_RTSP_HDR_AUTHENTICATION_INFO, /* Authentication-Info */
+
+  GST_RTSP_HDR_LAST
 } GstRTSPHeaderField;
 
 typedef enum {