live
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
OggDemux Class Reference

#include <OggFile.hh>

Inheritance diagram for OggDemux:
Inheritance graph
[legend]
Collaboration diagram for OggDemux:
Collaboration graph
[legend]

Public Member Functions

FramedSourcenewDemuxedTrack (u_int32_t &resultTrackNumber)
 
FramedSourcenewDemuxedTrackByTrackNumber (unsigned trackNumber)
 
UsageEnvironmentenvir () const
 
char const * name () const
 
virtual Boolean isSource () const
 
virtual Boolean isSink () const
 
virtual Boolean isRTCPInstance () const
 
virtual Boolean isRTSPClient () const
 
virtual Boolean isRTSPServer () const
 
virtual Boolean isMediaSession () const
 
virtual Boolean isServerMediaSession () const
 

Static Public Member Functions

static Boolean lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium)
 
static void close (UsageEnvironment &env, char const *mediumName)
 
static void close (Medium *medium)
 

Protected Member Functions

class OggDemuxedTracklookupDemuxedTrack (u_int32_t trackNumber)
 
 OggDemux (OggFile &ourFile)
 
virtual ~OggDemux ()
 
TaskTokennextTask ()
 

Private Member Functions

void removeTrack (u_int32_t trackNumber)
 
void continueReading ()
 
void handleEndOfFile ()
 

Static Private Member Functions

static void handleEndOfFile (void *clientData)
 

Private Attributes

OggFilefOurFile
 
class OggFileParserfOurParser
 
HashTablefDemuxedTracksTable
 
OggTrackTableIteratorfIter
 
UsageEnvironmentfEnviron
 
char fMediumName [mediumNameMaxLen]
 
TaskToken fNextTask
 

Friends

class OggFile
 
class OggFileParser
 
class OggDemuxedTrack
 

Detailed Description

Definition at line 142 of file OggFile.hh.

Constructor & Destructor Documentation

◆ OggDemux()

OggDemux::OggDemux ( OggFile ourFile)
protected

◆ ~OggDemux()

virtual OggDemux::~OggDemux ( )
protectedvirtual

Member Function Documentation

◆ close() [1/2]

static void Medium::close ( Medium medium)
staticinherited

◆ close() [2/2]

static void Medium::close ( UsageEnvironment env,
char const *  mediumName 
)
staticinherited

◆ continueReading()

void OggDemux::continueReading ( )
private

◆ envir()

UsageEnvironment & Medium::envir ( ) const
inlineinherited

◆ handleEndOfFile() [1/2]

void OggDemux::handleEndOfFile ( )
private

◆ handleEndOfFile() [2/2]

static void OggDemux::handleEndOfFile ( void *  clientData)
staticprivate

◆ isMediaSession()

virtual Boolean Medium::isMediaSession ( ) const
virtualinherited

Reimplemented in MediaSession.

◆ isRTCPInstance()

virtual Boolean Medium::isRTCPInstance ( ) const
virtualinherited

Reimplemented in RTCPInstance.

◆ isRTSPClient()

virtual Boolean Medium::isRTSPClient ( ) const
virtualinherited

Reimplemented in RTSPClient.

◆ isRTSPServer()

virtual Boolean Medium::isRTSPServer ( ) const
virtualinherited

Reimplemented in RTSPServer.

◆ isServerMediaSession()

virtual Boolean Medium::isServerMediaSession ( ) const
virtualinherited

Reimplemented in ServerMediaSession.

◆ isSink()

virtual Boolean Medium::isSink ( ) const
virtualinherited

Reimplemented in MediaSink.

◆ isSource()

virtual Boolean Medium::isSource ( ) const
virtualinherited

Reimplemented in MediaSource.

◆ lookupByName()

static Boolean Medium::lookupByName ( UsageEnvironment env,
char const *  mediumName,
Medium *&  resultMedium 
)
staticinherited

◆ lookupDemuxedTrack()

class OggDemuxedTrack * OggDemux::lookupDemuxedTrack ( u_int32_t  trackNumber)
protected

◆ name()

char const * Medium::name ( ) const
inlineinherited

Definition at line 61 of file Media.hh.

61{return fMediumName;}
char fMediumName[mediumNameMaxLen]
Definition: Media.hh:83

References Medium::fMediumName.

◆ newDemuxedTrack()

FramedSource * OggDemux::newDemuxedTrack ( u_int32_t &  resultTrackNumber)

◆ newDemuxedTrackByTrackNumber()

FramedSource * OggDemux::newDemuxedTrackByTrackNumber ( unsigned  trackNumber)

◆ nextTask()

TaskToken & Medium::nextTask ( )
inlineprotectedinherited

Definition at line 77 of file Media.hh.

77 {
78 return fNextTask;
79 }
TaskToken fNextTask
Definition: Media.hh:84

References Medium::fNextTask.

◆ removeTrack()

void OggDemux::removeTrack ( u_int32_t  trackNumber)
private

Friends And Related Function Documentation

◆ OggDemuxedTrack

friend class OggDemuxedTrack
friend

Definition at line 165 of file OggFile.hh.

◆ OggFile

friend class OggFile
friend

Definition at line 157 of file OggFile.hh.

◆ OggFileParser

friend class OggFileParser
friend

Definition at line 158 of file OggFile.hh.

Field Documentation

◆ fDemuxedTracksTable

HashTable* OggDemux::fDemuxedTracksTable
private

Definition at line 175 of file OggFile.hh.

◆ fEnviron

UsageEnvironment& Medium::fEnviron
privateinherited

Definition at line 82 of file Media.hh.

Referenced by Medium::envir().

◆ fIter

OggTrackTableIterator* OggDemux::fIter
private

Definition at line 176 of file OggFile.hh.

◆ fMediumName

char Medium::fMediumName[mediumNameMaxLen]
privateinherited

Definition at line 83 of file Media.hh.

Referenced by Medium::name().

◆ fNextTask

TaskToken Medium::fNextTask
privateinherited

Definition at line 84 of file Media.hh.

Referenced by Medium::nextTask().

◆ fOurFile

OggFile& OggDemux::fOurFile
private

Definition at line 173 of file OggFile.hh.

◆ fOurParser

class OggFileParser* OggDemux::fOurParser
private

Definition at line 174 of file OggFile.hh.


The documentation for this class was generated from the following file: