Mercurial > libavformat.hg
diff rtsp.h @ 4169:619845a9bab3 libavformat
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.
author | rbultje |
---|---|
date | Wed, 07 Jan 2009 14:55:47 +0000 |
parents | 0ebf63d12ea4 |
children | 89d38f054035 |
line wrap: on
line diff
--- a/rtsp.h Wed Jan 07 14:53:04 2009 +0000 +++ b/rtsp.h Wed Jan 07 14:55:47 2009 +0000 @@ -66,6 +66,7 @@ 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 RTSPServerType { RTSP_SERVER_RTP, /*< Standard-compliant RTP-server */ RTSP_SERVER_REAL, /*< Realmedia-style server */ + RTSP_SERVER_WMS, /*< Windows Media server */ RTSP_SERVER_LAST };