14 static RsRTSPServer*
createNew(UsageEnvironment& t_env, std::shared_ptr<RsDevice> t_device, Port t_ourPort = 554, UserAuthenticationDatabase* t_authDatabase =
NULL,
unsigned t_reclamationSeconds = 20);
18 RsRTSPServer(UsageEnvironment& t_env, std::shared_ptr<RsDevice> t_device,
int t_ourSocket, Port t_ourPort, UserAuthenticationDatabase* t_authDatabase,
unsigned t_reclamationSeconds);
36 virtual void handleCmd_DESCRIBE(
char const* urlPreSuffix,
char const* urlSuffix,
char const* fullRequestStr);
53 virtual void handleCmd_TEARDOWN(RTSPClientConnection* t_ourClientConnection, ServerMediaSubsession* t_subsession);
54 virtual void handleCmd_PLAY(RTSPClientConnection* t_ourClientConnection, ServerMediaSubsession* t_subsession,
char const* t_fullRequestStr);
55 virtual void handleCmd_PAUSE(RTSPClientConnection* t_ourClientConnection, ServerMediaSubsession* t_subsession);
56 virtual void handleCmd_GET_PARAMETER(RTSPClientConnection* t_ourClientConnection, ServerMediaSubsession* t_subsession,
char const* t_fullRequestStr);
57 virtual void handleCmd_SET_PARAMETER(RTSPClientConnection* t_ourClientConnection, ServerMediaSubsession* t_subsession,
char const* t_fullRequestStr);
59 virtual void handleCmd_SETUP(RTSPServer::RTSPClientConnection* t_ourClientConnection,
char const* t_urlPreSuffix,
char const* t_urlSuffix,
char const* t_fullRequestStr);
63 void emptyStreamProfileQueue(
long long int t_profile_key);
76 int openRsCamera(
RsSensor t_sensor, std::unordered_map<long long int, rs2::frame_queue>& t_streamProfiles);
std::unordered_map< long long int, rs2::frame_queue > m_streamProfiles
void setSupportedOptions(std::string t_key, std::vector< RsOption > t_supportedOptions)
virtual ClientSession * createNewClientSession(u_int32_t t_sessionId)
GLsizei const GLchar *const * string
std::string m_supportedOptionsStr
std::shared_ptr< RsDevice > m_device
RsRTSPServer(UsageEnvironment &t_env, std::shared_ptr< RsDevice > t_device, int t_ourSocket, Port t_ourPort, UserAuthenticationDatabase *t_authDatabase, unsigned t_reclamationSeconds)
char const * allowedCommandNames()
virtual ~RsRTSPClientConnection()
virtual void handleCmd_SET_PARAMETER(char const *fullRequestStr)
virtual void handleCmd_DESCRIBE(char const *urlPreSuffix, char const *urlSuffix, char const *fullRequestStr)
RsRTSPClientConnection(RsRTSPServer &t_ourServer, int t_clientSocket, struct sockaddr_storage const &t_clientAddr)
virtual void handleCmd_GET_PARAMETER(char const *fullRequestStr)
RsRTSPServer & m_fOurRsRTSPServer
virtual ClientConnection * createNewClientConnection(int t_clientSocket, struct sockaddr_storage const &t_clientAddr)
friend class RsRTSPClientSession
static RsRTSPServer * createNew(UsageEnvironment &t_env, std::shared_ptr< RsDevice > t_device, Port t_ourPort=554, UserAuthenticationDatabase *t_authDatabase=NULL, unsigned t_reclamationSeconds=20)
std::map< std::string, std::vector< RsOption > > m_supportedOptions
int openRsCamera(RsSensor t_sensor, std::unordered_map< long long int, rs2::frame_queue > &t_streamProfiles)