diff options
author | Jordi Ortiz <nenjordi@gmail.com> | 2012-07-10 19:36:11 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-10 22:00:28 +0300 |
commit | a8ad6ffafe89e3a83f343f69249338e8245816f7 (patch) | |
tree | f44065d2b5f5974336a80b5f6b933cf067255838 /libavformat/rtspcodes.h | |
parent | 6e71c1202bbdca0a95680e07507b39c55bb04f12 (diff) |
rtsp: Add listen mode
This makes the RTSP demuxer act as a server, listening for an
incoming connection.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtspcodes.h')
-rw-r--r-- | libavformat/rtspcodes.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 */ |