21#ifndef _MPEG4_GENERIC_RTP_SINK_HH
22#define _MPEG4_GENERIC_RTP_SINK_HH
24#ifndef _MULTI_FRAMED_RTP_SINK_HH
33 char const* sdpMediaTypeString,
char const* mpeg4Mode,
34 char const* configString,
39 u_int8_t rtpPayloadFormat,
41 char const* sdpMediaTypeString,
42 char const* mpeg4Mode,
char const* configString,
51 unsigned numBytesInFrame)
const;
53 unsigned char* frameStart,
54 unsigned numBytesInFrame,
55 struct timeval framePresentationTime,
56 unsigned numRemainingBytes);
virtual ~MPEG4GenericRTPSink()
char const * fConfigString
char const * fSDPMediaTypeString
virtual Boolean frameCanAppearAfterPacketStart(unsigned char const *frameStart, unsigned numBytesInFrame) const
virtual unsigned specialHeaderSize() const
virtual void doSpecialFrameHandling(unsigned fragmentationOffset, unsigned char *frameStart, unsigned numBytesInFrame, struct timeval framePresentationTime, unsigned numRemainingBytes)
static MPEG4GenericRTPSink * createNew(UsageEnvironment &env, Groupsock *RTPgs, u_int8_t rtpPayloadFormat, u_int32_t rtpTimestampFrequency, char const *sdpMediaTypeString, char const *mpeg4Mode, char const *configString, unsigned numChannels=1)
virtual char const * sdpMediaType() const
virtual char const * auxSDPLine()
MPEG4GenericRTPSink(UsageEnvironment &env, Groupsock *RTPgs, u_int8_t rtpPayloadFormat, u_int32_t rtpTimestampFrequency, char const *sdpMediaTypeString, char const *mpeg4Mode, char const *configString, unsigned numChannels)
unsigned rtpTimestampFrequency() const
unsigned numChannels() const