Commit 71ab1873 authored by Josep Torra's avatar Josep Torra Committed by Wim Taymans

RTSP: add missing headers for WMS RTSP

Add missing headers related to Windows Media RTSP extension.
Fixes #578942
parent c6286418
......@@ -164,6 +164,27 @@ static const gchar *rtsp_headers[] = {
"ETag", /* ETag */
"If-Match", /* If-Match */
/* WM extensions [MS-RTSP] */
"Accept-Charset", /* Accept-Charset */
"Supported", /* Supported */
"Vary", /* Vary */
"X-Accelerate-Streaming", /* X-Accelerate-Streaming */
"X-Accept-Authentication", /* X-Accept-Authentication */
"X-Accept-Proxy-Authentication", /* X-Accept-Proxy-Authentication */
"X-Broadcast-Id", /* X-Broadcast-Id */
"X-Burst-Streaming", /* X-Burst-Streaming */
"X-Notice", /* X-Notice */
"X-Player-Lag-Time", /* X-Player-Lag-Time */
"X-Playlist", /* X-Playlist */
"X-Playlist-Change-Notice", /* X-Playlist-Change-Notice */
"X-Playlist-Gen-Id", /* X-Playlist-Gen-Id */
"X-Playlist-Seek-Id", /* X-Playlist-Seek-Id */
"X-Proxy-Client-Agent", /* X-Proxy-Client-Agent */
"X-Proxy-Client-Verb", /* X-Proxy-Client-Verb */
"X-Receding-PlaylistChange", /* X-Receding-PlaylistChange */
"X-RTP-Info", /* X-RTP-Info */
"X-StartupProfile", /* X-StartupProfile */
NULL
};
......
......@@ -287,7 +287,29 @@ typedef enum {
/* Since 0.10.23 */
GST_RTSP_HDR_ETAG, /* ETag */
GST_RTSP_HDR_IF_MATCH /* If-Match */
GST_RTSP_HDR_IF_MATCH, /* If-Match */
/* WM extensions [MS-RTSP] Since 0.10.23 */
GST_RTSP_HDR_ACCEPT_CHARSET, /* Accept-Charset */
GST_RTSP_HDR_SUPPORTED, /* Supported */
GST_RTSP_HDR_VARY, /* Vary */
GST_RTSP_HDR_X_ACCELERATE_STREAMING, /* X-Accelerate-Streaming */
GST_RTSP_HDR_X_ACCEPT_AUTHENT, /* X-Accept-Authentication */
GST_RTSP_HDR_X_ACCEPT_PROXY_AUTHENT, /* X-Accept-Proxy-Authentication */
GST_RTSP_HDR_X_BROADCAST_ID, /* X-Broadcast-Id */
GST_RTSP_HDR_X_BURST_STREAMING, /* X-Burst-Streaming */
GST_RTSP_HDR_X_NOTICE, /* X-Notice */
GST_RTSP_HDR_X_PLAYER_LAG_TIME, /* X-Player-Lag-Time */
GST_RTSP_HDR_X_PLAYLIST, /* X-Playlist */
GST_RTSP_HDR_X_PLAYLIST_CHANGE_NOTICE, /* X-Playlist-Change-Notice */
GST_RTSP_HDR_X_PLAYLIST_GEN_ID, /* X-Playlist-Gen-Id */
GST_RTSP_HDR_X_PLAYLIST_SEEK_ID, /* X-Playlist-Seek-Id */
GST_RTSP_HDR_X_PROXY_CLIENT_AGENT, /* X-Proxy-Client-Agent */
GST_RTSP_HDR_X_PROXY_CLIENT_VERB, /* X-Proxy-Client-Verb */
GST_RTSP_HDR_X_RECEDING_PLAYLISTCHANGE, /* X-Receding-PlaylistChange */
GST_RTSP_HDR_X_RTP_INFO, /* X-RTP-Info */
GST_RTSP_HDR_X_STARTUPPROFILE /* X-StartupProfile */
} GstRTSPHeaderField;
typedef enum {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment