21#ifndef _VORBIS_AUDIO_RTP_SINK_HH
22#define _VORBIS_AUDIO_RTP_SINK_HH
24#ifndef _AUDIO_RTP_SINK_HH
34 u_int8_t* identificationHeader,
unsigned identificationHeaderSize,
35 u_int8_t* commentHeader,
unsigned commentHeaderSize,
36 u_int8_t* setupHeader,
unsigned setupHeaderSize,
37 u_int32_t identField = 0xFACADE);
42 char const* configStr);
49 u_int8_t* identificationHeader,
unsigned identificationHeaderSize,
50 u_int8_t* commentHeader,
unsigned commentHeaderSize,
51 u_int8_t* setupHeader,
unsigned setupHeaderSize,
52 u_int32_t identField);
61 unsigned char* frameStart,
62 unsigned numBytesInFrame,
63 struct timeval framePresentationTime,
64 unsigned numRemainingBytes);
66 unsigned numBytesInFrame)
const;
81 u_int8_t* commentHeader,
unsigned commentHeaderSize,
82 u_int8_t* setupHeader,
unsigned setupHeaderSize,
83 u_int32_t identField);
char * generateVorbisOrTheoraConfigStr(u_int8_t *identificationHeader, unsigned identificationHeaderSize, u_int8_t *commentHeader, unsigned commentHeaderSize, u_int8_t *setupHeader, unsigned setupHeaderSize, u_int32_t identField)
unsigned rtpTimestampFrequency() const
unsigned numChannels() const
virtual unsigned specialHeaderSize() const
virtual unsigned frameSpecificHeaderSize() const
virtual char const * auxSDPLine()
static VorbisAudioRTPSink * createNew(UsageEnvironment &env, Groupsock *RTPgs, u_int8_t rtpPayloadFormat, u_int32_t rtpTimestampFrequency, unsigned numChannels, u_int8_t *identificationHeader, unsigned identificationHeaderSize, u_int8_t *commentHeader, unsigned commentHeaderSize, u_int8_t *setupHeader, unsigned setupHeaderSize, u_int32_t identField=0xFACADE)
virtual Boolean frameCanAppearAfterPacketStart(unsigned char const *frameStart, unsigned numBytesInFrame) const
virtual ~VorbisAudioRTPSink()
static VorbisAudioRTPSink * createNew(UsageEnvironment &env, Groupsock *RTPgs, u_int8_t rtpPayloadFormat, u_int32_t rtpTimestampFrequency, unsigned numChannels, char const *configStr)
VorbisAudioRTPSink(UsageEnvironment &env, Groupsock *RTPgs, u_int8_t rtpPayloadFormat, u_int32_t rtpTimestampFrequency, unsigned numChannels, u_int8_t *identificationHeader, unsigned identificationHeaderSize, u_int8_t *commentHeader, unsigned commentHeaderSize, u_int8_t *setupHeader, unsigned setupHeaderSize, u_int32_t identField)
virtual void doSpecialFrameHandling(unsigned fragmentationOffset, unsigned char *frameStart, unsigned numBytesInFrame, struct timeval framePresentationTime, unsigned numRemainingBytes)