Mercurial > libavformat.hg
diff rtsp.h @ 5333:715913c5514f libavformat
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)
author | lu_zero |
---|---|
date | Sun, 25 Oct 2009 00:06:31 +0000 |
parents | cad276e8f96e |
children | 016f3d4fe56d |
line wrap: on
line diff
--- a/rtsp.h Sat Oct 24 20:40:00 2009 +0000 +++ b/rtsp.h Sun Oct 25 00:06:31 2009 +0000 @@ -121,6 +121,10 @@ * 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];