comparison rtsp.h @ 6423:2685bf2b0b78 libavformat

rtsp: Return AVERROR_EOF when all streams have received an RTCP BYE packet Patch by Josh Allmann, joshua dot allmann at gmail
author mstorsjo
date Sun, 29 Aug 2010 10:25:16 +0000
parents 6d6b63b7e5e3
children 2e3e76e8ada4
comparison
equal deleted inserted replaced
6422:cb5f5fc848b0 6423:2685bf2b0b78
301 * separately, eg for HTTP tunneling. */ 301 * separately, eg for HTTP tunneling. */
302 URLContext *rtsp_hd_out; 302 URLContext *rtsp_hd_out;
303 303
304 /** RTSP transport mode, such as plain or tunneled. */ 304 /** RTSP transport mode, such as plain or tunneled. */
305 enum RTSPControlTransport control_transport; 305 enum RTSPControlTransport control_transport;
306
307 /* Number of RTCP BYE packets the RTSP session has received.
308 * An EOF is propagated back if nb_byes == nb_streams.
309 * This is reset after a seek. */
310 int nb_byes;
306 } RTSPState; 311 } RTSPState;
307 312
308 /** 313 /**
309 * Describes a single stream, as identified by a single m= line block in the 314 * Describes a single stream, as identified by a single m= line block in the
310 * SDP content. In the case of RDT, one RTSPStream can represent multiple 315 * SDP content. In the case of RDT, one RTSPStream can represent multiple