summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:55:47 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2009-01-07 14:55:47 +0000
commit7a86bafa20aca6cdb38c425d23aa5aaf4271210a (patch)
tree385ed2f5a548736002535e93f3fad9297611f892 /libavformat/rtsp.h
parent74272b1c0cb4b90da324eec78c7dbe74e3993a77 (diff)
Use the "server" RTSP field to detect whether the server that we're talking
to is a Microsoft Windows Media Server (the field will be "WMServer/version"). See "[PATCH] RTSP-MS 3/15: Add Windows Media Server type" thread on mailinglist. Originally committed as revision 16472 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 36297e98c0..ebc7ab79b5 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -66,6 +66,7 @@ typedef struct RTSPHeader {
int seq; /**< sequence number */
char session_id[512];
char real_challenge[64]; /**< the RealChallenge1 field from the server */
+ char server[64];
} RTSPHeader;
enum RTSPClientState {
@@ -77,6 +78,7 @@ enum RTSPClientState {
enum RTSPServerType {
RTSP_SERVER_RTP, /*< Standard-compliant RTP-server */
RTSP_SERVER_REAL, /*< Realmedia-style server */
+ RTSP_SERVER_WMS, /*< Windows Media server */
RTSP_SERVER_LAST
};