diff options
author | Martin Storsjö <martin@martin.st> | 2011-01-10 12:45:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-26 03:43:29 +0100 |
commit | 4f40ec0552fd1247c67580f145290c8ed835c6c4 (patch) | |
tree | 8ae59b6e3dc7cdb721731c9b710b557132682a8d /libavformat/rtsp.h | |
parent | 2afd30bf7ab098f7471d851dc5f7a9adad43d35a (diff) | |
download | ffmpeg-4f40ec0552fd1247c67580f145290c8ed835c6c4.tar.gz |
rtspdec: Retry with TCP if UDP failed
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 2762a7a28b261a505a9002b92d4f7c04eeaacc1b)
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r-- | libavformat/rtsp.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 6dc64b19ae..62bd3a2ecc 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -248,6 +248,9 @@ typedef struct RTSPState { * of RTSPMessageHeader->real_challenge */ enum RTSPServerType server_type; + /** the "RealChallenge1:" field from the server */ + char real_challenge[64]; + /** plaintext authorization line (username:password) */ char auth[128]; @@ -313,6 +316,16 @@ typedef struct RTSPState { /** Filter incoming UDP packets - receive packets only from the right * source address and port. */ int filter_source; + + /** + * A mask with all requested transport methods + */ + int lower_transport_mask; + + /** + * The number of returned packets + */ + uint64_t packets; } RTSPState; /** |