rtsp: add ETag and If-Match headers

Add new headers, we need them for RealMedia support.
This commit is contained in:
Wim Taymans 2009-03-25 16:35:22 +01:00
parent 492b8861c4
commit 1081ae59eb
2 changed files with 6 additions and 1 deletions

View file

@ -161,6 +161,8 @@ static const gchar *rtsp_headers[] = {
"PlayerStarttime", /* PlayerStarttime */
"Location", /* Location */
"ETag", /* ETag */
"If-Match", /* If-Match */
NULL
};

View 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 {