21#ifndef _AMR_AUDIO_RTP_SINK_HH
22#define _AMR_AUDIO_RTP_SINK_HH
24#ifndef _AUDIO_RTP_SINK_HH
32 unsigned char rtpPayloadFormat,
34 unsigned numChannelsInSource = 1);
40 unsigned char rtpPayloadFormat,
49 unsigned char* frameStart,
50 unsigned numBytesInFrame,
51 struct timeval framePresentationTime,
52 unsigned numRemainingBytes);
55 unsigned numBytesInFrame)
const;
virtual ~AMRAudioRTPSink()
virtual Boolean sourceIsCompatibleWithUs(MediaSource &source)
virtual unsigned specialHeaderSize() const
virtual char const * auxSDPLine()
Boolean fSourceIsWideband
static AMRAudioRTPSink * createNew(UsageEnvironment &env, Groupsock *RTPgs, unsigned char rtpPayloadFormat, Boolean sourceIsWideband=False, unsigned numChannelsInSource=1)
virtual void doSpecialFrameHandling(unsigned fragmentationOffset, unsigned char *frameStart, unsigned numBytesInFrame, struct timeval framePresentationTime, unsigned numRemainingBytes)
AMRAudioRTPSink(UsageEnvironment &env, Groupsock *RTPgs, unsigned char rtpPayloadFormat, Boolean sourceIsWideband, unsigned numChannelsInSource)
virtual Boolean frameCanAppearAfterPacketStart(unsigned char const *frameStart, unsigned numBytesInFrame) const
Boolean sourceIsWideband() const