Mercurial > libavformat.hg
diff rtsp.h @ 6093:e688babd14df libavformat
RTSP: Add a second URLContext for outgoing messages
Done in preparation for RTSP over HTTP.
Patch by Josh Allmann, joshua dot allmann at gmail
author | mstorsjo |
---|---|
date | Sat, 05 Jun 2010 19:41:43 +0000 |
parents | ac73cfb210dc |
children | c5337969b43b |
line wrap: on
line diff
--- a/rtsp.h Fri Jun 04 23:31:46 2010 +0000 +++ b/rtsp.h Sat Jun 05 19:41:43 2010 +0000 @@ -278,6 +278,10 @@ /** The synchronized start time of the output streams. */ int64_t start_time; + + /** Additional output handle, used when input and output are done + * separately, eg for HTTP tunneling. */ + URLContext *rtsp_hd_out; } RTSPState; /** @@ -434,4 +438,11 @@ */ void ff_rtsp_close_streams(AVFormatContext *s); +/** + * Close all connection handles within the RTSP (de)muxer + * + * @param rt RTSP (de)muxer context + */ +void ff_rtsp_close_connections(AVFormatContext *rt); + #endif /* AVFORMAT_RTSP_H */