Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
RsRTSPServer Class Reference

#include <RsRTSPServer.hh>

Inheritance diagram for RsRTSPServer:
Inheritance graph
[legend]

Classes

class  RsRTSPClientConnection
 
class  RsRTSPClientSession
 

Public Member Functions

void setSupportedOptions (std::string t_key, std::vector< RsOption > t_supportedOptions)
 

Static Public Member Functions

static RsRTSPServercreateNew (UsageEnvironment &t_env, std::shared_ptr< RsDevice > t_device, Port t_ourPort=554, UserAuthenticationDatabase *t_authDatabase=NULL, unsigned t_reclamationSeconds=20)
 

Protected Member Functions

char const * allowedCommandNames ()
 
virtual ClientConnection * createNewClientConnection (int t_clientSocket, struct sockaddr_storage const &t_clientAddr)
 
virtual ClientSession * createNewClientSession (u_int32_t t_sessionId)
 
 RsRTSPServer (UsageEnvironment &t_env, std::shared_ptr< RsDevice > t_device, int t_ourSocket, Port t_ourPort, UserAuthenticationDatabase *t_authDatabase, unsigned t_reclamationSeconds)
 
virtual ~RsRTSPServer ()
 

Protected Attributes

std::shared_ptr< RsDevicem_device
 
std::map< std::string, std::vector< RsOption > > m_supportedOptions
 
std::string m_supportedOptionsStr
 

Private Member Functions

int openRsCamera (RsSensor t_sensor, std::unordered_map< long long int, rs2::frame_queue > &t_streamProfiles)
 

Friends

class RsRTSPClientConnection
 
class RsRTSPClientSession
 

Detailed Description

Definition at line 11 of file RsRTSPServer.hh.

Constructor & Destructor Documentation

RsRTSPServer::RsRTSPServer ( UsageEnvironment &  t_env,
std::shared_ptr< RsDevice t_device,
int  t_ourSocket,
Port  t_ourPort,
UserAuthenticationDatabase *  t_authDatabase,
unsigned  t_reclamationSeconds 
)
protected

Definition at line 28 of file RsRTSPServer.cpp.

RsRTSPServer::~RsRTSPServer ( )
protectedvirtual

Definition at line 33 of file RsRTSPServer.cpp.

Member Function Documentation

char const * RsRTSPServer::allowedCommandNames ( )
protected

Definition at line 43 of file RsRTSPServer.cpp.

RsRTSPServer * RsRTSPServer::createNew ( UsageEnvironment &  t_env,
std::shared_ptr< RsDevice t_device,
Port  t_ourPort = 554,
UserAuthenticationDatabase *  t_authDatabase = NULL,
unsigned  t_reclamationSeconds = 20 
)
static

Definition at line 19 of file RsRTSPServer.cpp.

GenericMediaServer::ClientConnection * RsRTSPServer::createNewClientConnection ( int  t_clientSocket,
struct sockaddr_storage const &  t_clientAddr 
)
protectedvirtual

Definition at line 324 of file RsRTSPServer.cpp.

GenericMediaServer::ClientSession * RsRTSPServer::createNewClientSession ( u_int32_t  t_sessionId)
protectedvirtual

Definition at line 329 of file RsRTSPServer.cpp.

int RsRTSPServer::openRsCamera ( RsSensor  t_sensor,
std::unordered_map< long long int, rs2::frame_queue > &  t_streamProfiles 
)
private
void RsRTSPServer::setSupportedOptions ( std::string  t_key,
std::vector< RsOption t_supportedOptions 
)

Definition at line 59 of file RsRTSPServer.cpp.

Friends And Related Function Documentation

friend class RsRTSPClientConnection
friend

Definition at line 79 of file RsRTSPServer.hh.

friend class RsRTSPClientSession
friend

Definition at line 80 of file RsRTSPServer.hh.

Member Data Documentation

std::shared_ptr<RsDevice> RsRTSPServer::m_device
protected

Definition at line 24 of file RsRTSPServer.hh.

std::map<std::string, std::vector<RsOption> > RsRTSPServer::m_supportedOptions
protected

Definition at line 22 of file RsRTSPServer.hh.

std::string RsRTSPServer::m_supportedOptionsStr
protected

Definition at line 23 of file RsRTSPServer.hh.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:32