diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2009-10-25 00:06:31 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2009-10-25 00:06:31 +0000 |
commit | d243ba30b824513e75f5836c6dde789034152976 (patch) | |
tree | 2c5c1287fd2860a44fab4a681aaeb6e28111137f /libavformat/rtsp.h | |
parent | c5898e862302090fee82c9eee230b6aa6e5d4e45 (diff) | |
download | ffmpeg-d243ba30b824513e75f5836c6dde789034152976.tar.gz |
Support 3xx redirection in rtsp
All the error codes 3xx got managed the same way.
After setup/early play redirection will not be managed
REDIRECT method is yet to be supported (if somebody knows a server implementing
it please contact me)
Originally committed as revision 20369 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 3db8235afd..8f79c759ff 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -121,6 +121,10 @@ typedef struct RTSPMessageHeader { * should be re-transmitted by the client in every RTSP command. */ char session_id[512]; + /** the "Location:" field. This value is used to handle redirection. + */ + char location[4096]; + /** the "RealChallenge1:" field from the server */ char real_challenge[64]; |