Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4168:0ebf63d12ea4 | 4169:619845a9bab3 |
---|---|
64 int64_t range_start, range_end; | 64 int64_t range_start, range_end; |
65 RTSPTransportField transports[RTSP_MAX_TRANSPORTS]; | 65 RTSPTransportField transports[RTSP_MAX_TRANSPORTS]; |
66 int seq; /**< sequence number */ | 66 int seq; /**< sequence number */ |
67 char session_id[512]; | 67 char session_id[512]; |
68 char real_challenge[64]; /**< the RealChallenge1 field from the server */ | 68 char real_challenge[64]; /**< the RealChallenge1 field from the server */ |
69 char server[64]; | |
69 } RTSPHeader; | 70 } RTSPHeader; |
70 | 71 |
71 enum RTSPClientState { | 72 enum RTSPClientState { |
72 RTSP_STATE_IDLE, | 73 RTSP_STATE_IDLE, |
73 RTSP_STATE_PLAYING, | 74 RTSP_STATE_PLAYING, |
75 }; | 76 }; |
76 | 77 |
77 enum RTSPServerType { | 78 enum RTSPServerType { |
78 RTSP_SERVER_RTP, /*< Standard-compliant RTP-server */ | 79 RTSP_SERVER_RTP, /*< Standard-compliant RTP-server */ |
79 RTSP_SERVER_REAL, /*< Realmedia-style server */ | 80 RTSP_SERVER_REAL, /*< Realmedia-style server */ |
81 RTSP_SERVER_WMS, /*< Windows Media server */ | |
80 RTSP_SERVER_LAST | 82 RTSP_SERVER_LAST |
81 }; | 83 }; |
82 | 84 |
83 enum RTSPTransport { | 85 enum RTSPTransport { |
84 RTSP_TRANSPORT_RTP, | 86 RTSP_TRANSPORT_RTP, |