Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-01-10 13:45:24 +0300
committerMichael Niedermayer <michaelni@gmx.at>2011-01-26 05:43:29 +0300
commit4f40ec0552fd1247c67580f145290c8ed835c6c4 (patch)
tree8ae59b6e3dc7cdb721731c9b710b557132682a8d /libavformat/rtsp.h
parent2afd30bf7ab098f7471d851dc5f7a9adad43d35a (diff)
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.h13
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;
/**