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.

Originally committed as revision 15481 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ronald S. Bultje
2008-09-30 13:18:41 +00:00
parent e1a96237df
commit 90abbdba1e
3 changed files with 59 additions and 59 deletions

View File

@@ -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 @@ typedef struct RTSPTransportField {
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 {