Mercurial > libavformat.hg
diff rtsp.h @ 3957:9f943bb755f9 libavformat
Rename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
that it only describes the lower-level transport (TCP vs. UDP) and not the
actual data layout (e.g. RDT vs. RTP). See discussion in "Realmedia patch"
thread on ML.
author | rbultje |
---|---|
date | Tue, 30 Sep 2008 13:18:41 +0000 |
parents | c9550824fd1c |
children | 13e9b0d3a314 |
line wrap: on
line diff
--- a/rtsp.h Tue Sep 30 02:44:57 2008 +0000 +++ b/rtsp.h Tue Sep 30 13:18:41 2008 +0000 @@ -25,14 +25,14 @@ #include "avformat.h" #include "rtspcodes.h" -enum RTSPProtocol { - RTSP_PROTOCOL_RTP_UDP = 0, - RTSP_PROTOCOL_RTP_TCP = 1, - RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2, +enum RTSPLowerTransport { + RTSP_LOWER_TRANSPORT_UDP = 0, + RTSP_LOWER_TRANSPORT_TCP = 1, + RTSP_LOWER_TRANSPORT_UDP_MULTICAST = 2, /** * This is not part of public API and shouldn't be used outside of ffmpeg. */ - RTSP_PROTOCOL_RTP_LAST + RTSP_LOWER_TRANSPORT_LAST }; #define RTSP_DEFAULT_PORT 554 @@ -50,7 +50,7 @@ int server_port_min, server_port_max; /**< RTP ports */ int ttl; /**< ttl value */ uint32_t destination; /**< destination IP address */ - enum RTSPProtocol protocol; + enum RTSPLowerTransport lower_transport; } RTSPTransportField; typedef struct RTSPHeader {