comparison rtsp.h @ 5013:43d99d0e12e0 libavformat

Support seeking as defined by the rfc a PLAY with Range alone while in PLAY status should be interpreted as an enqueue a PAUSE followed by a PLAY with Range is the proper way to ask to seek to a point. See rfc2326
author lu_zero
date Wed, 10 Jun 2009 15:08:02 +0000
parents 686de8748c36
children 4c39baa3dfbf
comparison
equal deleted inserted replaced
5012:7734b5d0fc6c 5013:43d99d0e12e0
149 */ 149 */
150 enum RTSPClientState { 150 enum RTSPClientState {
151 RTSP_STATE_IDLE, /**< not initialized */ 151 RTSP_STATE_IDLE, /**< not initialized */
152 RTSP_STATE_PLAYING, /**< initialized and receiving data */ 152 RTSP_STATE_PLAYING, /**< initialized and receiving data */
153 RTSP_STATE_PAUSED, /**< initialized, but not receiving data */ 153 RTSP_STATE_PAUSED, /**< initialized, but not receiving data */
154 RTSP_STATE_SEEKING, /**< initialized, requesting a seek */
154 }; 155 };
155 156
156 /** 157 /**
157 * Identifies particular servers that require special handling, such as 158 * Identifies particular servers that require special handling, such as
158 * standards-incompliant "Transport:" lines in the SETUP request. 159 * standards-incompliant "Transport:" lines in the SETUP request.