#include <MPEG4LATMAudioRTPSink.hh>
|
void | setPacketSizes (unsigned preferredPacketSize, unsigned maxPacketSize) |
|
void | setOnSendErrorFunc (onSendErrorFunc *onSendErrorFunc, void *onSendErrorFuncData) |
|
virtual void | stopPlaying () |
|
Groupsock const & | groupsockBeingUsed () const |
|
Groupsock & | groupsockBeingUsed () |
|
unsigned char | rtpPayloadType () const |
|
unsigned | rtpTimestampFrequency () const |
|
void | setRTPTimestampFrequency (unsigned freq) |
|
char const * | rtpPayloadFormatName () const |
|
unsigned | numChannels () const |
|
void | setupForSRTP (Boolean useEncryption) |
|
u_int8_t * | setupForSRTP (Boolean useEncryption, unsigned &resultMIKEYStateMessageSize) |
|
void | setupForSRTP (u_int8_t const *MIKEYStateMessage, unsigned MIKEYStateMessageSize) |
|
virtual char * | rtpmapLine () const |
|
virtual char * | keyMgmtLine () |
|
u_int16_t | currentSeqNo () const |
|
u_int32_t | presetNextTimestamp () |
|
RTPTransmissionStatsDB & | transmissionStatsDB () const |
|
Boolean | nextTimestampHasBeenPreset () const |
|
Boolean & | enableRTCPReports () |
|
void | getTotalBitrate (unsigned &outNumBytes, double &outElapsedTime) |
|
struct timeval const & | creationTime () const |
|
struct timeval const & | initialPresentationTime () const |
|
struct timeval const & | mostRecentPresentationTime () const |
|
void | resetPresentationTimes () |
|
void | setStreamSocket (int sockNum, unsigned char streamChannelId, TLSState *tlsState) |
|
void | addStreamSocket (int sockNum, unsigned char streamChannelId, TLSState *tlsState) |
|
void | removeStreamSocket (int sockNum, unsigned char streamChannelId) |
|
unsigned & | estimatedBitrate () |
|
u_int32_t | SSRC () const |
|
SRTPCryptographicContext * | getCrypto () const |
|
Boolean | startPlaying (MediaSource &source, afterPlayingFunc *afterFunc, void *afterClientData) |
|
FramedSource * | source () const |
|
UsageEnvironment & | envir () const |
|
char const * | name () const |
|
virtual Boolean | isSource () const |
|
virtual Boolean | isRTCPInstance () const |
|
virtual Boolean | isRTSPClient () const |
|
virtual Boolean | isRTSPServer () const |
|
virtual Boolean | isMediaSession () const |
|
virtual Boolean | isServerMediaSession () const |
|
|
static MPEG4LATMAudioRTPSink * | createNew (UsageEnvironment &env, Groupsock *RTPgs, unsigned char rtpPayloadFormat, u_int32_t rtpTimestampFrequency, char const *streamMuxConfigString, unsigned numChannels, Boolean allowMultipleFramesPerPacket=False) |
|
static Boolean | lookupByName (UsageEnvironment &env, char const *sinkName, RTPSink *&resultSink) |
|
static Boolean | lookupByName (UsageEnvironment &env, char const *sinkName, MediaSink *&resultSink) |
|
static Boolean | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) |
|
static void | close (UsageEnvironment &env, char const *mediumName) |
|
static void | close (Medium *medium) |
|
|
| MPEG4LATMAudioRTPSink (UsageEnvironment &env, Groupsock *RTPgs, unsigned char rtpPayloadFormat, u_int32_t rtpTimestampFrequency, char const *streamMuxConfigString, unsigned numChannels, Boolean allowMultipleFramesPerPacket) |
|
virtual | ~MPEG4LATMAudioRTPSink () |
|
virtual Boolean | allowFragmentationAfterStart () const |
|
virtual Boolean | allowOtherFramesAfterLastFragment () const |
|
virtual unsigned | specialHeaderSize () const |
|
virtual unsigned | frameSpecificHeaderSize () const |
|
virtual unsigned | computeOverflowForNewFrame (unsigned newFrameSize) const |
|
Boolean | isFirstPacket () const |
|
Boolean | isFirstFrameInPacket () const |
|
unsigned | curFragmentationOffset () const |
|
void | setMarkerBit () |
|
void | setTimestamp (struct timeval framePresentationTime) |
|
void | setSpecialHeaderWord (unsigned word, unsigned wordPosition=0) |
|
void | setSpecialHeaderBytes (unsigned char const *bytes, unsigned numBytes, unsigned bytePosition=0) |
|
void | setFrameSpecificHeaderWord (unsigned word, unsigned wordPosition=0) |
|
void | setFrameSpecificHeaderBytes (unsigned char const *bytes, unsigned numBytes, unsigned bytePosition=0) |
|
void | setFramePadding (unsigned numPaddingBytes) |
|
unsigned | numFramesUsedSoFar () const |
|
unsigned | ourMaxPacketSize () const |
|
virtual Boolean | continuePlaying () |
|
u_int32_t | convertToRTPTimestamp (struct timeval tv) |
|
unsigned | packetCount () const |
|
unsigned | octetCount () const |
|
virtual Boolean | sourceIsCompatibleWithUs (MediaSource &source) |
|
void | onSourceClosure () |
|
TaskToken & | nextTask () |
|
|
static void | sendNext (void *firstArg) |
|
static void | afterGettingFrame (void *clientData, unsigned numBytesRead, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
static void | ourHandleClosure (void *clientData) |
|
Definition at line 30 of file MPEG4LATMAudioRTPSink.hh.
◆ afterPlayingFunc
typedef void() MediaSink::afterPlayingFunc(void *clientData) |
|
inherited |
◆ onSendErrorFunc
typedef void() MultiFramedRTPSink::onSendErrorFunc(void *clientData) |
|
inherited |
◆ MPEG4LATMAudioRTPSink()
MPEG4LATMAudioRTPSink::MPEG4LATMAudioRTPSink |
( |
UsageEnvironment & |
env, |
|
|
Groupsock * |
RTPgs, |
|
|
unsigned char |
rtpPayloadFormat, |
|
|
u_int32_t |
rtpTimestampFrequency, |
|
|
char const * |
streamMuxConfigString, |
|
|
unsigned |
numChannels, |
|
|
Boolean |
allowMultipleFramesPerPacket |
|
) |
| |
|
protected |
◆ ~MPEG4LATMAudioRTPSink()
virtual MPEG4LATMAudioRTPSink::~MPEG4LATMAudioRTPSink |
( |
| ) |
|
|
protectedvirtual |
◆ addStreamSocket()
void RTPSink::addStreamSocket |
( |
int |
sockNum, |
|
|
unsigned char |
streamChannelId, |
|
|
TLSState * |
tlsState |
|
) |
| |
|
inlineinherited |
◆ afterGettingFrame()
static void MultiFramedRTPSink::afterGettingFrame |
( |
void * |
clientData, |
|
|
unsigned |
numBytesRead, |
|
|
unsigned |
numTruncatedBytes, |
|
|
struct timeval |
presentationTime, |
|
|
unsigned |
durationInMicroseconds |
|
) |
| |
|
staticprivateinherited |
◆ afterGettingFrame1()
void MultiFramedRTPSink::afterGettingFrame1 |
( |
unsigned |
numBytesRead, |
|
|
unsigned |
numTruncatedBytes, |
|
|
struct timeval |
presentationTime, |
|
|
unsigned |
durationInMicroseconds |
|
) |
| |
|
privateinherited |
◆ allowFragmentationAfterStart()
virtual Boolean MultiFramedRTPSink::allowFragmentationAfterStart |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ allowOtherFramesAfterLastFragment()
virtual Boolean MultiFramedRTPSink::allowOtherFramesAfterLastFragment |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ auxSDPLine()
virtual char const * MPEG4LATMAudioRTPSink::auxSDPLine |
( |
| ) |
|
|
privatevirtual |
◆ buildAndSendPacket()
void MultiFramedRTPSink::buildAndSendPacket |
( |
Boolean |
isFirstPacket | ) |
|
|
privateinherited |
◆ close() [1/2]
static void Medium::close |
( |
Medium * |
medium | ) |
|
|
staticinherited |
◆ close() [2/2]
◆ computeOverflowForNewFrame()
virtual unsigned MultiFramedRTPSink::computeOverflowForNewFrame |
( |
unsigned |
newFrameSize | ) |
const |
|
protectedvirtualinherited |
◆ continuePlaying()
virtual Boolean MultiFramedRTPSink::continuePlaying |
( |
| ) |
|
|
protectedvirtualinherited |
◆ convertToRTPTimestamp()
u_int32_t RTPSink::convertToRTPTimestamp |
( |
struct timeval |
tv | ) |
|
|
protectedinherited |
◆ createNew()
◆ creationTime()
struct timeval const & RTPSink::creationTime |
( |
| ) |
const |
|
inlineinherited |
◆ curFragmentationOffset()
unsigned MultiFramedRTPSink::curFragmentationOffset |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ currentSeqNo()
u_int16_t RTPSink::currentSeqNo |
( |
| ) |
const |
|
inlineinherited |
◆ doSpecialFrameHandling()
virtual void MPEG4LATMAudioRTPSink::doSpecialFrameHandling |
( |
unsigned |
fragmentationOffset, |
|
|
unsigned char * |
frameStart, |
|
|
unsigned |
numBytesInFrame, |
|
|
struct timeval |
framePresentationTime, |
|
|
unsigned |
numRemainingBytes |
|
) |
| |
|
privatevirtual |
◆ enableRTCPReports()
Boolean & RTPSink::enableRTCPReports |
( |
| ) |
|
|
inlineinherited |
◆ envir()
◆ estimatedBitrate()
unsigned & RTPSink::estimatedBitrate |
( |
| ) |
|
|
inlineinherited |
◆ frameCanAppearAfterPacketStart()
virtual Boolean MPEG4LATMAudioRTPSink::frameCanAppearAfterPacketStart |
( |
unsigned char const * |
frameStart, |
|
|
unsigned |
numBytesInFrame |
|
) |
| const |
|
privatevirtual |
◆ frameSpecificHeaderSize()
virtual unsigned MultiFramedRTPSink::frameSpecificHeaderSize |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ getCrypto()
◆ getTotalBitrate()
void RTPSink::getTotalBitrate |
( |
unsigned & |
outNumBytes, |
|
|
double & |
outElapsedTime |
|
) |
| |
|
inherited |
◆ groupsockBeingUsed() [1/2]
◆ groupsockBeingUsed() [2/2]
Groupsock const & RTPSink::groupsockBeingUsed |
( |
| ) |
const |
|
inlineinherited |
◆ initialPresentationTime()
struct timeval const & RTPSink::initialPresentationTime |
( |
| ) |
const |
|
inlineinherited |
Definition at line 84 of file RTPSink.hh.
84{ return fInitialPresentationTime; }
◆ isFirstFrameInPacket()
Boolean MultiFramedRTPSink::isFirstFrameInPacket |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ isFirstPacket()
Boolean MultiFramedRTPSink::isFirstPacket |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ isMediaSession()
virtual Boolean Medium::isMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isRTCPInstance()
virtual Boolean Medium::isRTCPInstance |
( |
| ) |
const |
|
virtualinherited |
◆ isRTPSink()
virtual Boolean RTPSink::isRTPSink |
( |
| ) |
const |
|
privatevirtualinherited |
◆ isRTSPClient()
virtual Boolean Medium::isRTSPClient |
( |
| ) |
const |
|
virtualinherited |
◆ isRTSPServer()
virtual Boolean Medium::isRTSPServer |
( |
| ) |
const |
|
virtualinherited |
◆ isServerMediaSession()
virtual Boolean Medium::isServerMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isSink()
virtual Boolean MediaSink::isSink |
( |
| ) |
const |
|
privatevirtualinherited |
◆ isSource()
virtual Boolean Medium::isSource |
( |
| ) |
const |
|
virtualinherited |
◆ isTooBigForAPacket()
Boolean MultiFramedRTPSink::isTooBigForAPacket |
( |
unsigned |
numBytes | ) |
const |
|
privateinherited |
◆ keyMgmtLine()
virtual char * RTPSink::keyMgmtLine |
( |
| ) |
|
|
virtualinherited |
◆ lookupByName() [1/3]
◆ lookupByName() [2/3]
◆ lookupByName() [3/3]
◆ mostRecentPresentationTime()
struct timeval const & RTPSink::mostRecentPresentationTime |
( |
| ) |
const |
|
inlineinherited |
◆ name()
char const * Medium::name |
( |
| ) |
const |
|
inlineinherited |
◆ nextTask()
◆ nextTimestampHasBeenPreset()
Boolean RTPSink::nextTimestampHasBeenPreset |
( |
| ) |
const |
|
inlineinherited |
◆ numChannels()
unsigned RTPSink::numChannels |
( |
| ) |
const |
|
inlineinherited |
◆ numFramesUsedSoFar()
unsigned MultiFramedRTPSink::numFramesUsedSoFar |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ octetCount()
unsigned RTPSink::octetCount |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ onSourceClosure() [1/2]
void MediaSink::onSourceClosure |
( |
| ) |
|
|
protectedinherited |
◆ onSourceClosure() [2/2]
static void MediaSink::onSourceClosure |
( |
void * |
clientData | ) |
|
|
staticprotectedinherited |
◆ ourHandleClosure()
static void MultiFramedRTPSink::ourHandleClosure |
( |
void * |
clientData | ) |
|
|
staticprivateinherited |
◆ ourMaxPacketSize()
unsigned MultiFramedRTPSink::ourMaxPacketSize |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ packetCount()
unsigned RTPSink::packetCount |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ packFrame()
void MultiFramedRTPSink::packFrame |
( |
| ) |
|
|
privateinherited |
◆ presetNextTimestamp()
u_int32_t RTPSink::presetNextTimestamp |
( |
| ) |
|
|
inherited |
◆ removeStreamSocket()
void RTPSink::removeStreamSocket |
( |
int |
sockNum, |
|
|
unsigned char |
streamChannelId |
|
) |
| |
|
inlineinherited |
◆ resetPresentationTimes()
void RTPSink::resetPresentationTimes |
( |
| ) |
|
|
inherited |
◆ rtpmapLine()
virtual char * RTPSink::rtpmapLine |
( |
| ) |
const |
|
virtualinherited |
◆ rtpPayloadFormatName()
char const * RTPSink::rtpPayloadFormatName |
( |
| ) |
const |
|
inlineinherited |
◆ rtpPayloadType()
unsigned char RTPSink::rtpPayloadType |
( |
| ) |
const |
|
inlineinherited |
◆ rtpTimestampFrequency()
unsigned RTPSink::rtpTimestampFrequency |
( |
| ) |
const |
|
inlineinherited |
◆ sdpMediaType()
virtual char const * AudioRTPSink::sdpMediaType |
( |
| ) |
const |
|
privatevirtualinherited |
◆ sendNext()
static void MultiFramedRTPSink::sendNext |
( |
void * |
firstArg | ) |
|
|
staticprivateinherited |
◆ sendPacketIfNecessary()
void MultiFramedRTPSink::sendPacketIfNecessary |
( |
| ) |
|
|
privateinherited |
◆ setFramePadding()
void MultiFramedRTPSink::setFramePadding |
( |
unsigned |
numPaddingBytes | ) |
|
|
protectedinherited |
◆ setFrameSpecificHeaderBytes()
void MultiFramedRTPSink::setFrameSpecificHeaderBytes |
( |
unsigned char const * |
bytes, |
|
|
unsigned |
numBytes, |
|
|
unsigned |
bytePosition = 0 |
|
) |
| |
|
protectedinherited |
◆ setFrameSpecificHeaderWord()
void MultiFramedRTPSink::setFrameSpecificHeaderWord |
( |
unsigned |
word, |
|
|
unsigned |
wordPosition = 0 |
|
) |
| |
|
protectedinherited |
◆ setMarkerBit()
void MultiFramedRTPSink::setMarkerBit |
( |
| ) |
|
|
protectedinherited |
◆ setOnSendErrorFunc()
void MultiFramedRTPSink::setOnSendErrorFunc |
( |
onSendErrorFunc * |
onSendErrorFunc, |
|
|
void * |
onSendErrorFuncData |
|
) |
| |
|
inlineinherited |
◆ setPacketSizes()
void MultiFramedRTPSink::setPacketSizes |
( |
unsigned |
preferredPacketSize, |
|
|
unsigned |
maxPacketSize |
|
) |
| |
|
inherited |
◆ setRTPTimestampFrequency()
void RTPSink::setRTPTimestampFrequency |
( |
unsigned |
freq | ) |
|
|
inlineinherited |
◆ setSpecialHeaderBytes()
void MultiFramedRTPSink::setSpecialHeaderBytes |
( |
unsigned char const * |
bytes, |
|
|
unsigned |
numBytes, |
|
|
unsigned |
bytePosition = 0 |
|
) |
| |
|
protectedinherited |
◆ setSpecialHeaderWord()
void MultiFramedRTPSink::setSpecialHeaderWord |
( |
unsigned |
word, |
|
|
unsigned |
wordPosition = 0 |
|
) |
| |
|
protectedinherited |
◆ setStreamSocket()
void RTPSink::setStreamSocket |
( |
int |
sockNum, |
|
|
unsigned char |
streamChannelId, |
|
|
TLSState * |
tlsState |
|
) |
| |
|
inlineinherited |
◆ setTimestamp()
void MultiFramedRTPSink::setTimestamp |
( |
struct timeval |
framePresentationTime | ) |
|
|
protectedinherited |
◆ setupForSRTP() [1/3]
void RTPSink::setupForSRTP |
( |
Boolean |
useEncryption | ) |
|
|
inherited |
◆ setupForSRTP() [2/3]
u_int8_t * RTPSink::setupForSRTP |
( |
Boolean |
useEncryption, |
|
|
unsigned & |
resultMIKEYStateMessageSize |
|
) |
| |
|
inherited |
◆ setupForSRTP() [3/3]
void RTPSink::setupForSRTP |
( |
u_int8_t const * |
MIKEYStateMessage, |
|
|
unsigned |
MIKEYStateMessageSize |
|
) |
| |
|
inherited |
◆ source()
◆ sourceIsCompatibleWithUs()
|
protectedvirtualinherited |
◆ specialHeaderSize()
virtual unsigned MultiFramedRTPSink::specialHeaderSize |
( |
| ) |
const |
|
protectedvirtualinherited |
Reimplemented in AC3AudioRTPSink, AMRAudioRTPSink, H263plusVideoRTPSink, JPEG2000VideoRTPSink, JPEGVideoRTPSink, MP3ADURTPSink, MPEG1or2AudioRTPSink, MPEG1or2VideoRTPSink, MPEG4GenericRTPSink, RawVideoRTPSink, TheoraVideoRTPSink, VorbisAudioRTPSink, VP8VideoRTPSink, and VP9VideoRTPSink.
◆ SSRC()
u_int32_t RTPSink::SSRC |
( |
| ) |
const |
|
inlineinherited |
◆ startPlaying()
◆ stopPlaying()
virtual void MultiFramedRTPSink::stopPlaying |
( |
| ) |
|
|
virtualinherited |
◆ transmissionStatsDB()
◆ fAfterClientData
void* MediaSink::fAfterClientData |
|
privateinherited |
◆ fAfterFunc
◆ fAllowMultipleFramesPerPacket
Boolean MPEG4LATMAudioRTPSink::fAllowMultipleFramesPerPacket |
|
private |
◆ fCreationTime
struct timeval RTPSink::fCreationTime |
|
privateinherited |
◆ fCrypto
◆ fCurFragmentationOffset
unsigned MultiFramedRTPSink::fCurFragmentationOffset |
|
privateinherited |
◆ fCurFrameSpecificHeaderPosition
unsigned MultiFramedRTPSink::fCurFrameSpecificHeaderPosition |
|
privateinherited |
◆ fCurFrameSpecificHeaderSize
unsigned MultiFramedRTPSink::fCurFrameSpecificHeaderSize |
|
privateinherited |
◆ fCurrentTimestamp
u_int32_t RTPSink::fCurrentTimestamp |
|
protectedinherited |
◆ fEnableRTCPReports
Boolean RTPSink::fEnableRTCPReports |
|
privateinherited |
◆ fEnviron
◆ fEstimatedBitrate
unsigned RTPSink::fEstimatedBitrate |
|
privateinherited |
◆ fFmtpSDPLine
char* MPEG4LATMAudioRTPSink::fFmtpSDPLine |
|
private |
◆ fIsFirstPacket
Boolean MultiFramedRTPSink::fIsFirstPacket |
|
privateinherited |
◆ fMediumName
◆ fMIKEYState
◆ fMostRecentPresentationTime
struct timeval fTotalOctetCountStartTime fInitialPresentationTime RTPSink::fMostRecentPresentationTime |
|
protectedinherited |
◆ fNextSendTime
struct timeval MultiFramedRTPSink::fNextSendTime |
|
privateinherited |
◆ fNextTask
◆ fNextTimestampHasBeenPreset
Boolean RTPSink::fNextTimestampHasBeenPreset |
|
privateinherited |
◆ fNoFramesLeft
Boolean MultiFramedRTPSink::fNoFramesLeft |
|
privateinherited |
◆ fNumChannels
unsigned RTPSink::fNumChannels |
|
privateinherited |
◆ fNumFramesUsedSoFar
unsigned MultiFramedRTPSink::fNumFramesUsedSoFar |
|
privateinherited |
◆ fOctetCount
unsigned RTPSink::fOctetCount |
|
protectedinherited |
◆ fOnSendErrorData
void* MultiFramedRTPSink::fOnSendErrorData |
|
privateinherited |
◆ fOnSendErrorFunc
◆ fOurMaxPacketSize
unsigned MultiFramedRTPSink::fOurMaxPacketSize |
|
privateinherited |
◆ fOutBuf
◆ fPacketCount
unsigned RTPSink::fPacketCount |
|
protectedinherited |
◆ fPreviousFrameEndedFragmentation
Boolean MultiFramedRTPSink::fPreviousFrameEndedFragmentation |
|
privateinherited |
◆ fRTPInterface
◆ fRTPPayloadFormatName
char const* RTPSink::fRTPPayloadFormatName |
|
privateinherited |
◆ fRTPPayloadType
unsigned char RTPSink::fRTPPayloadType |
|
protectedinherited |
◆ fSeqNo
u_int16_t RTPSink::fSeqNo |
|
protectedinherited |
◆ fSource
◆ fSpecialHeaderPosition
unsigned MultiFramedRTPSink::fSpecialHeaderPosition |
|
privateinherited |
◆ fSpecialHeaderSize
unsigned MultiFramedRTPSink::fSpecialHeaderSize |
|
privateinherited |
◆ fSSRC
◆ fStreamMuxConfigString
char const* MPEG4LATMAudioRTPSink::fStreamMuxConfigString |
|
private |
◆ fTimestampBase
u_int32_t RTPSink::fTimestampBase |
|
privateinherited |
◆ fTimestampFrequency
unsigned RTPSink::fTimestampFrequency |
|
privateinherited |
◆ fTimestampPosition
unsigned MultiFramedRTPSink::fTimestampPosition |
|
privateinherited |
◆ fTotalFrameSpecificHeaderSizes
unsigned MultiFramedRTPSink::fTotalFrameSpecificHeaderSizes |
|
privateinherited |
◆ fTotalOctetCount
unsigned RTPSink::fTotalOctetCount |
|
protectedinherited |
◆ fTransmissionStatsDB
The documentation for this class was generated from the following file: