You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef __SERVLET_WEB_RTC_HEADER__
#define __SERVLET_WEB_RTC_HEADER__
#include "../../components/base/basicDualThread.h"
#include "servletChannelWebRTC.h"
#include "servletClientHandlerWebRTC.h"
class servletWebRTC: public basicDualThread{ private: basicLogCollection * m_pLog; int m_nSocketDescriptor; uint16_t m_nListenPort;
vectorChannelsWebRTC m_vChannels; vectorClientHandlerWebRTC m_vWebClients;
public: explicit servletWebRTC( uint16_t ListenPort = 8081 ); virtual ~servletWebRTC(); bool create( uint16_t ListenPort = 8081 ); virtual void m_fThreadAProc( void ); // Listener
virtual void m_fThreadBProc( void ); // Worker
bool attachChannel( CSTR MediaURI, bool LocalDevice );};
#endif
|