From a8ad6ffafe89e3a83f343f69249338e8245816f7 Mon Sep 17 00:00:00 2001 From: Jordi Ortiz Date: Tue, 10 Jul 2012 19:36:11 +0200 Subject: rtsp: Add listen mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes the RTSP demuxer act as a server, listening for an incoming connection. Signed-off-by: Martin Storsjö --- libavformat/rtspcodes.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libavformat/rtspcodes.h') diff --git a/libavformat/rtspcodes.h b/libavformat/rtspcodes.h index 63ceb66cfe..31ab33699c 100644 --- a/libavformat/rtspcodes.h +++ b/libavformat/rtspcodes.h @@ -37,4 +37,18 @@ RTSP_STATUS_SERVICE =503, /**< Service Unavailable */ RTSP_STATUS_VERSION =505, /**< RTSP Version not supported */ }; +enum RTSPMethod { + DESCRIBE, + ANNOUNCE, + OPTIONS, + SETUP, + PLAY, + PAUSE, + TEARDOWN, + GET_PARAMETER, + SET_PARAMETER, + REDIRECT, + RECORD, + UNKNOWN = -1, +}; #endif /* AVFORMAT_RTSPCODES_H */ -- cgit v1.2.3