Lines Matching refs:rtsp
35 #include "rtsp.h"
103 * RTSP handler interface.
106 "RTSP", /* scheme */
128 struct RTSP *rtsp;
130 conn->data->req.protop = rtsp = calloc(1, sizeof(struct RTSP));
131 if(!rtsp)
141 * we cannot assume that an RTSP socket is dead just because it is readable.
201 struct RTSP *rtsp = data->req.protop;
212 if(rtsp) {
214 CSeq_sent = rtsp->CSeq_sent;
215 CSeq_recv = rtsp->CSeq_recv;
237 struct RTSP *rtsp = data->req.protop;
257 http = &(rtsp->http_wrapper);
258 /* Assert that no one has changed the RTSP struct in an evil way */
259 DEBUGASSERT((void *)http == (void *)rtsp);
261 rtsp->CSeq_sent = data->state.rtsp_next_client_CSeq;
262 rtsp->CSeq_recv = 0;
265 * Since all RTSP requests are included here, there is no need to
271 failf(data, "Got invalid RTSP request");
312 failf(data, "Got invalid RTSP request: RTSPREQ_LAST");
326 failf(data, "Refusing to issue an RTSP request [%s] without a session ID.",
356 "Refusing to issue an RTSP SETUP without a Transport: header.");
450 "%s %s RTSP/1.0\r\n" /* Request Stream-URI RTSP/1.0 */
452 p_request, p_stream_uri, rtsp->CSeq_sent);
554 data->state.expect100header = FALSE; /* RTSP posts are simple/small */
563 /* RTSP never allows chunked transfer */
581 failf(data, "Failed sending RTSP request");
770 struct RTSP *rtsp = data->req.protop;
771 rtsp->CSeq_recv = CSeq; /* mark the request */
794 failf(data, "Got RTSP Session ID Line [%s], but wanted ID [%s]",