rtsp: add ETag and If-Match headers
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 25 Mar 2009 15:35:22 +0000 (16:35 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 25 Mar 2009 15:36:14 +0000 (16:36 +0100)
Add new headers, we need them for RealMedia support.

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

index 8e4bf7b5fff24502f32501c9c7456b80b765c04e..0ab2b95552d2866f0a0a4a00563cae4f59084104 100644 (file)
@@ -161,6 +161,8 @@ static const gchar *rtsp_headers[] = {
   "PlayerStarttime",            /* PlayerStarttime */
 
   "Location",                   /* Location */
+  "ETag",                       /* ETag */
+  "If-Match",                   /* If-Match */
 
   NULL
 };
index f1288137b5f34317aa878bc59181dc5673f3b25b..dd4b531d4b81d09ec8b040a82221d1011447670b 100644 (file)
@@ -283,8 +283,11 @@ typedef enum {
   GST_RTSP_HDR_PLAYER_START_TIME,   /* PlayerStarttime */
 
   /* Since 0.10.16 */
-  GST_RTSP_HDR_LOCATION             /* Location */
+  GST_RTSP_HDR_LOCATION,            /* Location */
 
+  /* Since 0.10.23 */
+  GST_RTSP_HDR_ETAG,                /* ETag */
+  GST_RTSP_HDR_IF_MATCH             /* If-Match */
 } GstRTSPHeaderField;
 
 typedef enum {