RTSPDefs.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
#ifndef RTSP_DEFS_H
00016
#define RTSP_DEFS_H
00017
00018
#include "MNString.h"
00019
00020
namespace RTSP
00021 {
00022
00023
static const int DefaultPort = 554;
00024
00025
00026
00027
00028
00029
00030 enum MethodCode
00031 {
00032
SETUP_METHOD = 0,
00033
DESCRIBE_METHOD = 1,
00034
REDIRECT_METHOD = 2,
00035
PLAY_METHOD = 3,
00036
PAUSE_METHOD = 4,
00037
SESSION_METHOD = 5,
00038
OPTIONS_METHOD = 6,
00039
RECORD_METHOD = 7,
00040
CLOSE_METHOD = 8,
00041
GET_PARAM_METHOD = 9,
00042
SET_PARAM_METHOD = 10,
00043
EXTENSION_METHOD = 11
00044 };
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 enum MethodResponseCode
00055 {
00056
SETUP_RESPONSE = 100,
00057
DESCRIBE_RESPONSE = 101,
00058
REDIRECT_RESPONSE = 102,
00059
PLAY_RESPONSE = 103,
00060
PAUSE_RESPONSE = 104,
00061
SESSION_RESPONSE = 105,
00062
OPTIONS_RESPONSE = 106,
00063
RECORD_RESPONSE = 107,
00064
CLOSE_RESPONSE = 108,
00065
GET_PARAM_RESPONSE = 109,
00066
SET_PARAM_RESPONSE = 110,
00067
EXTENSION_RESPONSE = 111
00068 };
00069
00070 };
00071
00072
00073
00074
00075
00076 enum StreamState
00077 {
00078
STREAM_READY = 1,
00079
STREAM_PLAY = 2,
00080
STREAM_PLAYING = 4,
00081
STREAM_PAUSING = 8,
00082
STREAM_PAUSED = 16
00083 };
00084
00085
#endif
00086
Generated on Sun Mar 6 13:35:50 2005 for Komssys by
1.3.8