diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-03-19 14:05:08 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-03-19 14:05:08 +0000 |
commit | 8a8754d80f5ff03cbd2adb355d93737cc61f12ad (patch) | |
tree | f5d203f0acff368065be971c775eaf814b6f013f /libavformat/rtsp.h | |
parent | b58412f10640489ed9fe929a0f2ca116d9d19e53 (diff) | |
download | ffmpeg-8a8754d80f5ff03cbd2adb355d93737cc61f12ad.tar.gz |
Allow cycling between different protocols (TCP, UDP or multicast) so that if
one doesn't work, we can try the next one (i.e. trial-error protocol auto-
probing).
Discussed and approved in "[PATCH] RTSP alternate protocol 2-3/3".
Originally committed as revision 12504 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 6adadbc815..288f69776d 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -29,6 +29,10 @@ enum RTSPProtocol { RTSP_PROTOCOL_RTP_UDP = 0, RTSP_PROTOCOL_RTP_TCP = 1, RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2, + /** + * This is not part of public API and shouldn't be used outside of ffmpeg. + */ + RTSP_PROTOCOL_RTP_LAST }; #define RTSP_DEFAULT_PORT 554 |