diff options
author | Martin Storsjö <martin@martin.st> | 2011-01-10 12:45:24 +0200 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-24 22:49:36 +0100 |
commit | 2762a7a28b261a505a9002b92d4f7c04eeaacc1b (patch) | |
tree | 51a37efaa522715ea75a6597b8e0dfa1de816f1f /libavformat/rtsp.h | |
parent | e836b1b0859798488d8ba45a837dc27bac2ee99f (diff) | |
download | ffmpeg-2762a7a28b261a505a9002b92d4f7c04eeaacc1b.tar.gz |
rtspdec: Retry with TCP if UDP failed
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
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; /** |