Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
RsSink Class Reference

#include <RsSink.h>

Inheritance diagram for RsSink:
Inheritance graph
[legend]

Public Member Functions

void setCallback (rtp_callback *t_callback)
 

Static Public Member Functions

static RsSinkcreateNew (UsageEnvironment &t_env, MediaSubsession &t_subsession, rs2_video_stream t_stream, MemoryPool *t_mempool, char const *t_streamId=NULL)
 

Private Member Functions

void afterGettingFrame (unsigned t_frameSize, unsigned t_numTruncatedBytes, struct timeval t_presentationTime, unsigned t_durationInMicroseconds)
 
virtual Boolean continuePlaying ()
 
 RsSink (UsageEnvironment &t_env, MediaSubsession &t_subsession, rs2_video_stream t_stream, MemoryPool *t_mempool, char const *t_streamId)
 
virtual ~RsSink ()
 

Static Private Member Functions

static void afterGettingFrameUid0 (void *t_clientData, unsigned t_frameSize, unsigned t_numTruncatedBytes, struct timeval t_presentationTime, unsigned t_durationInMicroseconds)
 
static void afterGettingFrameUid1 (void *t_clientData, unsigned t_frameSize, unsigned t_numTruncatedBytes, struct timeval t_presentationTime, unsigned t_durationInMicroseconds)
 
static void afterGettingFrameUid2 (void *t_clientData, unsigned t_frameSize, unsigned t_numTruncatedBytes, struct timeval t_presentationTime, unsigned t_durationInMicroseconds)
 
static void afterGettingFrameUid3 (void *t_clientData, unsigned t_frameSize, unsigned t_numTruncatedBytes, struct timeval t_presentationTime, unsigned t_durationInMicroseconds)
 

Private Attributes

std::vector< FramedSource::afterGettingFunc * > m_afterGettingFunctions
 
int m_bufferSize
 
FILE * m_fp
 
std::shared_ptr< ICompressionm_iCompress
 
MemoryPoolm_memPool
 
unsigned char * m_receiveBuffer
 
rtp_callbackm_rtpCallback
 
rs2_video_stream m_stream
 
char * m_streamId
 
MediaSubsession & m_subsession
 
unsigned char * m_to
 

Detailed Description

Definition at line 16 of file RsSink.h.

Constructor & Destructor Documentation

RsSink::RsSink ( UsageEnvironment &  t_env,
MediaSubsession &  t_subsession,
rs2_video_stream  t_stream,
MemoryPool t_mempool,
char const *  t_streamId 
)
private

Definition at line 19 of file RsSink.cpp.

RsSink::~RsSink ( )
privatevirtual

Definition at line 60 of file RsSink.cpp.

Member Function Documentation

void RsSink::afterGettingFrame ( unsigned  t_frameSize,
unsigned  t_numTruncatedBytes,
struct timeval  t_presentationTime,
unsigned  t_durationInMicroseconds 
)
private

Definition at line 101 of file RsSink.cpp.

void RsSink::afterGettingFrameUid0 ( void t_clientData,
unsigned  t_frameSize,
unsigned  t_numTruncatedBytes,
struct timeval  t_presentationTime,
unsigned  t_durationInMicroseconds 
)
staticprivate

Definition at line 70 of file RsSink.cpp.

void RsSink::afterGettingFrameUid1 ( void t_clientData,
unsigned  t_frameSize,
unsigned  t_numTruncatedBytes,
struct timeval  t_presentationTime,
unsigned  t_durationInMicroseconds 
)
staticprivate

Definition at line 77 of file RsSink.cpp.

void RsSink::afterGettingFrameUid2 ( void t_clientData,
unsigned  t_frameSize,
unsigned  t_numTruncatedBytes,
struct timeval  t_presentationTime,
unsigned  t_durationInMicroseconds 
)
staticprivate

Definition at line 84 of file RsSink.cpp.

void RsSink::afterGettingFrameUid3 ( void t_clientData,
unsigned  t_frameSize,
unsigned  t_numTruncatedBytes,
struct timeval  t_presentationTime,
unsigned  t_durationInMicroseconds 
)
staticprivate

Definition at line 91 of file RsSink.cpp.

Boolean RsSink::continuePlaying ( )
privatevirtual

Definition at line 147 of file RsSink.cpp.

RsSink * RsSink::createNew ( UsageEnvironment &  t_env,
MediaSubsession &  t_subsession,
rs2_video_stream  t_stream,
MemoryPool t_mempool,
char const *  t_streamId = NULL 
)
static

Definition at line 14 of file RsSink.cpp.

void RsSink::setCallback ( rtp_callback t_callback)

Definition at line 171 of file RsSink.cpp.

Member Data Documentation

std::vector<FramedSource::afterGettingFunc*> RsSink::m_afterGettingFunctions
private

Definition at line 54 of file RsSink.h.

int RsSink::m_bufferSize
private

Definition at line 45 of file RsSink.h.

FILE* RsSink::m_fp
private

Definition at line 48 of file RsSink.h.

std::shared_ptr<ICompression> RsSink::m_iCompress
private

Definition at line 52 of file RsSink.h.

MemoryPool* RsSink::m_memPool
private

Definition at line 53 of file RsSink.h.

unsigned char* RsSink::m_receiveBuffer
private

Definition at line 43 of file RsSink.h.

rtp_callback* RsSink::m_rtpCallback
private

Definition at line 50 of file RsSink.h.

rs2_video_stream RsSink::m_stream
private

Definition at line 51 of file RsSink.h.

char* RsSink::m_streamId
private

Definition at line 47 of file RsSink.h.

MediaSubsession& RsSink::m_subsession
private

Definition at line 46 of file RsSink.h.

unsigned char* RsSink::m_to
private

Definition at line 44 of file RsSink.h.


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