mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
RTSP: add missing headers for WMS RTSP
Add missing headers related to Windows Media RTSP extension. Fixes #578942
This commit is contained in:
parent
c628641880
commit
71ab187355
2 changed files with 44 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue