aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.h
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2010-06-05 19:41:43 +0000
committerMartin Storsjö <martin@martin.st>2010-06-05 19:41:43 +0000
commitb8c2c41d66534e4f6d3bbe8474d1ef76fb7c8be0 (patch)
tree2efcc4fc9a8f3e95405188b2703759acf755b5c9 /libavformat/rtsp.h
parent19da45f22bfc1937f0fec8bf06c8f4de1f68a3b9 (diff)
downloadffmpeg-b8c2c41d66534e4f6d3bbe8474d1ef76fb7c8be0.tar.gz
RTSP: Add a second URLContext for outgoing messages
Done in preparation for RTSP over HTTP. Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23494 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.h')
-rw-r--r--libavformat/rtsp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index 342f825fce..9d8e53b061 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -278,6 +278,10 @@ typedef struct RTSPState {
/** 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 @@ int ff_rtsp_connect(AVFormatContext *s);
*/
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 */