live
|
#include <MP3ADU.hh>
Public Types | |
typedef void() | afterGettingFunc(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
typedef void() | onCloseFunc(void *clientData) |
Static Public Member Functions | |
static MP3FromADUSource * | createNew (UsageEnvironment &env, FramedSource *inputSource, Boolean includeADUdescriptors=True) |
static Boolean | lookupByName (UsageEnvironment &env, char const *sourceName, FramedSource *&resultSource) |
static Boolean | lookupByName (UsageEnvironment &env, char const *sourceName, MediaSource *&resultSource) |
static Boolean | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) |
static void | handleClosure (void *clientData) |
static void | afterGetting (FramedSource *source) |
static void | close (UsageEnvironment &env, char const *mediumName) |
static void | close (Medium *medium) |
Protected Member Functions | |
MP3FromADUSource (UsageEnvironment &env, FramedSource *inputSource, Boolean includeADUdescriptors) | |
virtual | ~MP3FromADUSource () |
virtual void | getAttributes () const |
virtual void | doStopGettingFrames () |
TaskToken & | nextTask () |
Protected Attributes | |
FramedSource * | fInputSource |
unsigned char * | fTo |
unsigned | fMaxSize |
unsigned | fFrameSize |
unsigned | fNumTruncatedBytes |
struct timeval | fPresentationTime |
unsigned | fDurationInMicroseconds |
Private Member Functions | |
virtual void | doGetNextFrame () |
virtual char const * | MIMEtype () const |
Boolean | needToGetAnADU () |
void | insertDummyADUsIfNecessary () |
Boolean | generateFrameFromHeadADU () |
virtual Boolean | isFramedSource () const |
virtual Boolean | isSource () const |
Private Attributes | |
Boolean | fAreEnqueueingADU |
class SegmentQueue * | fSegments |
afterGettingFunc * | fAfterGettingFunc |
void * | fAfterGettingClientData |
onCloseFunc * | fOnCloseFunc |
void * | fOnCloseClientData |
Boolean | fIsCurrentlyAwaitingData |
UsageEnvironment & | fEnviron |
char | fMediumName [mediumNameMaxLen] |
TaskToken | fNextTask |
|
inherited |
Definition at line 36 of file FramedSource.hh.
|
inherited |
Definition at line 40 of file FramedSource.hh.
|
protected |
|
protectedvirtual |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
static |
|
inherited |
|
privatevirtual |
Implements FramedSource.
|
protectedvirtualinherited |
Reimplemented from FramedSource.
Reimplemented in MPEG2TransportStreamFramer, MPEG2TransportStreamTrickModeFilter, MPEGVideoStreamFramer, and T140IdleFilter.
|
inlineinherited |
Definition at line 59 of file Media.hh.
References Medium::fEnviron.
Referenced by MediaSubsession::env(), GenericMediaServer::ClientConnection::envir(), GenericMediaServer::ClientSession::envir(), and RTPInterface::envir().
|
private |
|
protectedvirtualinherited |
Reimplemented from MediaSource.
Reimplemented in MP3ADUTranscoder.
|
inherited |
|
inherited |
|
staticinherited |
|
inlineinherited |
|
private |
|
virtualinherited |
Reimplemented in AMRAudioSource.
|
inlineinherited |
Definition at line 61 of file FramedSource.hh.
References FramedSource::fIsCurrentlyAwaitingData.
|
virtualinherited |
Reimplemented in DVVideoStreamFramer.
|
privatevirtualinherited |
Reimplemented from MediaSource.
|
virtualinherited |
Reimplemented in H264VideoStreamDiscreteFramer, and H264VideoStreamFramer.
|
virtualinherited |
Reimplemented in H265VideoStreamDiscreteFramer, and H265VideoStreamFramer.
|
virtualinherited |
Reimplemented in JPEGVideoSource.
|
virtualinherited |
Reimplemented in MediaSession.
|
virtualinherited |
Reimplemented in MPEG1or2VideoStreamFramer.
|
virtualinherited |
Reimplemented in MPEG2TransportStreamMultiplexor.
|
virtualinherited |
Reimplemented in MPEG4VideoStreamFramer.
|
virtualinherited |
Reimplemented in RTCPInstance.
|
virtualinherited |
Reimplemented in RTSPClient.
|
virtualinherited |
Reimplemented in RTSPServer.
|
virtualinherited |
Reimplemented in ServerMediaSession.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
virtualinherited |
Reimplemented in BasicUDPSource, and MPEG1or2DemuxedElementaryStream.
|
privatevirtual |
Reimplemented from FramedFilter.
|
inlineinherited |
|
private |
|
inlineprotectedinherited |
Definition at line 77 of file Media.hh.
References Medium::fNextTask.
|
inlineinherited |
Definition at line 32 of file FramedFilter.hh.
References FramedFilter::fInputSource.
|
inherited |
|
privateinherited |
Definition at line 88 of file FramedSource.hh.
|
privateinherited |
Definition at line 87 of file FramedSource.hh.
|
protectedinherited |
Definition at line 80 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::durationInMicroseconds(), and OggDemuxedTrack::durationInMicroseconds().
|
privateinherited |
Definition at line 82 of file Media.hh.
Referenced by Medium::envir().
|
protectedinherited |
Definition at line 77 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::frameSize(), MPEG2TransportStreamDemuxedTrack::frameSize(), and OggDemuxedTrack::frameSize().
|
protectedinherited |
Definition at line 49 of file FramedFilter.hh.
Referenced by MPEG2TransportStreamFramer::changeInputSource(), MPEG2TransportStreamTrickModeFilter::forgetInputSource(), FramedFilter::inputSource(), and FramedFilter::reassignInputSource().
|
privateinherited |
Definition at line 92 of file FramedSource.hh.
Referenced by FramedSource::isCurrentlyAwaitingData().
|
protectedinherited |
Definition at line 76 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::maxSize(), MPEG2TransportStreamDemuxedTrack::maxSize(), and OggDemuxedTrack::maxSize().
|
privateinherited |
Definition at line 83 of file Media.hh.
Referenced by Medium::name().
|
privateinherited |
Definition at line 84 of file Media.hh.
Referenced by Medium::nextTask().
|
protectedinherited |
Definition at line 78 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::numTruncatedBytes(), MPEG2TransportStreamDemuxedTrack::numTruncatedBytes(), and OggDemuxedTrack::numTruncatedBytes().
|
privateinherited |
Definition at line 90 of file FramedSource.hh.
|
privateinherited |
Definition at line 89 of file FramedSource.hh.
|
protectedinherited |
Definition at line 79 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::presentationTime(), MPEG2TransportStreamDemuxedTrack::presentationTime(), and OggDemuxedTrack::presentationTime().
|
protectedinherited |
Definition at line 75 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::to(), MPEG2TransportStreamDemuxedTrack::to(), and OggDemuxedTrack::to().