mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-02 05:23:14 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user