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>
This commit is contained in:

committed by
Martin Storsjö

parent
6e71c1202b
commit
a8ad6ffafe
@@ -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 */
|
||||
|
Reference in New Issue
Block a user