The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CHLSLiveResource Class Reference

Inheritance diagram for CHLSLiveResource:
Collaboration diagram for CHLSLiveResource:

List of all members.

Public Member Functions

 CHLSLiveResource (const JetByteTools::Core::_tstring &dataDirectoryPath, IStreamDataFileFactory &dataFileFactory, Milliseconds maxTimePerFile, double defaultFrameRate, JetByteTools::IO::IAllocateBuffers &bufferAllocator, JetByteTools::IO::IAllocateBufferHandles &handleAllocator, JetByteTools::IO::IIOPool &ioPool, JetByteTools::Core::IQueueTimers &timerQueue, JetByteTools::Seconds sessionInactivityTimeout, const JetByteTools::HTTP::CHTTPHeaders &standardHeaders)
std::string GetIndexFileName () const
void AddRef () override
void Release () override
JetByteTools::HTTP::CSmartHTTPResourceData GetResourceData (const JetByteTools::HTTP::CHTTPRequest &request) override
void Abort () override
bool AddData (JetByteTools::IO::CSmartBuffer &buffer) override=0
void StreamComplete () override=0
void ConnectVideoDataNotificationCallback (IAcceptLiveVideoDataNotifications &callback) override
void DisconnectVideoDataNotificationCallback () override
void ProcessFrameData (bool lastInFrame, const BYTE *pData, DWORD length)
void FrameDataComplete ()
void SetFrameRate (double frameRate)
virtual void OnTimer (UserData userData)=0

Protected Types

 User data that can be passed to Timer via the OnTimer() call when the timeout expires.

Protected Member Functions

virtual ~CHLSLiveResource ()
void SetInactivityTimer () override
JetByteTools::IO::IAllocateBuffersGetBufferAllocator ()
bool Aborted () const
void AddResource (const IHTTPResourceData &data)
virtual void OnTimerEx (Handle handle, UserData userData)
 Called after the timer expires.

Protected Attributes


Member Typedef Documentation

typedef IQueueTimers::UserData UserData [inherited]

User data that can be passed to Timer via the OnTimer() call when the timeout expires.

Reimplemented in CReadTimeoutDatagramSocketConnectionFilter, and CReadTimeoutStreamSocketConnectionFilter.

typedef IQueueTimers::Handle Handle [inherited]

Constructor & Destructor Documentation

CHLSLiveResource ( const JetByteTools::Core::_tstring dataDirectoryPath,
IStreamDataFileFactory dataFileFactory,
Milliseconds  maxTimePerFile,
double  defaultFrameRate,
JetByteTools::IO::IAllocateBuffers bufferAllocator,
JetByteTools::IO::IAllocateBufferHandles handleAllocator,
JetByteTools::IO::IIOPool ioPool,
JetByteTools::Core::IQueueTimers timerQueue,
JetByteTools::Seconds  sessionInactivityTimeout,
const JetByteTools::HTTP::CHTTPHeaders standardHeaders 

~CHLSLiveResource (  )  [protected, virtual]

Member Function Documentation

string GetIndexFileName (  )  const

void AddRef (  )  [override, virtual]

Implements IAcceptLiveVideoData.

void Release (  )  [override, virtual]

Implements IAcceptLiveVideoData.

CSmartHTTPResourceData GetResourceData ( const JetByteTools::HTTP::CHTTPRequest request  )  [override, virtual]

Reimplemented from CHLSResource.

void Abort (  )  [override, virtual]

Reimplemented from CHTTPResource.

bool AddData ( JetByteTools::IO::CSmartBuffer buffer  )  [override, pure virtual]

Implements IAcceptStreamData.

Implemented in CHLSH264LiveResource.

void StreamComplete (  )  [override, pure virtual]

Implements IAcceptStreamData.

Implemented in CHLSH264LiveResource.

void ConnectVideoDataNotificationCallback ( IAcceptLiveVideoDataNotifications callback  )  [override, virtual]

Implements IAcceptLiveVideoData.

void DisconnectVideoDataNotificationCallback (  )  [override, virtual]

Implements IAcceptLiveVideoData.

void ProcessFrameData ( bool  lastInFrame,
const BYTE pData,
DWORD  length 

void FrameDataComplete (  ) 

void SetFrameRate ( double  frameRate  ) 

void SetInactivityTimer (  )  [override, protected, virtual]

Reimplemented from CHLSResource.

IAllocateBuffers & GetBufferAllocator (  )  [protected]

virtual void OnTimer ( UserData  userData  )  [pure virtual, inherited]

bool Aborted (  )  const [protected, inherited]

void AddResource ( const IHTTPResourceData data  )  [protected, inherited]

virtual void OnTimerEx ( Handle  handle,
UserData  userData 
) [inline, virtual, inherited]

Called after the timer expires.

Member Data Documentation

const JetByteTools::HTTP::CHTTPHeaders& m_standardHeaders [protected, inherited]

Generated on Sun Sep 12 19:11:07 2021 for The Server Framework - v7.4 by doxygen 1.5.3