From 2762a7a28b261a505a9002b92d4f7c04eeaacc1b Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 10 Jan 2011 12:45:24 +0200 Subject: rtspdec: Retry with TCP if UDP failed Signed-off-by: Janne Grunau --- libavformat/rtsp.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libavformat/rtsp.h') 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; /** -- cgit v1.2.3