live
|
#include <OggFile.hh>
Public Types | |
typedef void() | onCreationFunc(OggFile *newFile, void *clientData) |
Public Member Functions | |
OggTrack * | lookup (u_int32_t trackNumber) |
OggDemux * | newDemux (OggDemuxOnDeletionFunc *onDeletionFunc=NULL, void *objectToNotify=NULL) |
char const * | fileName () const |
unsigned | numTracks () const |
FramedSource * | createSourceForStreaming (FramedSource *baseSource, u_int32_t trackNumber, unsigned &estBitrate, unsigned &numFiltersInFrontOfTrack) |
RTPSink * | createRTPSinkForTrackNumber (u_int32_t trackNumber, Groupsock *rtpGroupsock, unsigned char rtpPayloadTypeIfDynamic) |
class OggTrackTable & | trackTable () |
UsageEnvironment & | envir () 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 void | createNew (UsageEnvironment &env, char const *fileName, onCreationFunc *onCreation, void *onCreationClientData) |
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 | |
TaskToken & | nextTask () |
Private Member Functions | |
OggFile (UsageEnvironment &env, char const *fileName, onCreationFunc *onCreation, void *onCreationClientData) | |
virtual | ~OggFile () |
void | handleEndOfBosPageParsing () |
void | addTrack (OggTrack *newTrack) |
void | removeDemux (OggDemux *demux) |
Static Private Member Functions | |
static void | handleEndOfBosPageParsing (void *clientData) |
Private Attributes | |
char const * | fFileName |
onCreationFunc * | fOnCreation |
void * | fOnCreationClientData |
class OggTrackTable * | fTrackTable |
HashTable * | fDemuxesTable |
class OggFileParser * | fParserForInitialization |
UsageEnvironment & | fEnviron |
char | fMediumName [mediumNameMaxLen] |
TaskToken | fNextTask |
Friends | |
class | OggFileParser |
class | OggDemux |
Definition at line 36 of file OggFile.hh.
typedef void() OggFile::onCreationFunc(OggFile *newFile, void *clientData) |
Definition at line 38 of file OggFile.hh.
|
private |
|
privatevirtual |
|
private |
|
staticinherited |
|
staticinherited |
|
static |
RTPSink * OggFile::createRTPSinkForTrackNumber | ( | u_int32_t | trackNumber, |
Groupsock * | rtpGroupsock, | ||
unsigned char | rtpPayloadTypeIfDynamic | ||
) |
FramedSource * OggFile::createSourceForStreaming | ( | FramedSource * | baseSource, |
u_int32_t | trackNumber, | ||
unsigned & | estBitrate, | ||
unsigned & | numFiltersInFrontOfTrack | ||
) |
|
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().
|
inline |
|
private |
|
staticprivate |
|
virtualinherited |
Reimplemented in MediaSession.
|
virtualinherited |
Reimplemented in RTCPInstance.
|
virtualinherited |
Reimplemented in RTSPClient.
|
virtualinherited |
Reimplemented in RTSPServer.
|
virtualinherited |
Reimplemented in ServerMediaSession.
|
virtualinherited |
Reimplemented in MediaSource.
OggTrack * OggFile::lookup | ( | u_int32_t | trackNumber | ) |
|
staticinherited |
|
inlineinherited |
OggDemux * OggFile::newDemux | ( | OggDemuxOnDeletionFunc * | onDeletionFunc = NULL , |
void * | objectToNotify = NULL |
||
) |
|
inlineprotectedinherited |
Definition at line 77 of file Media.hh.
References Medium::fNextTask.
unsigned OggFile::numTracks | ( | ) | const |
|
private |
|
inline |
|
friend |
Definition at line 82 of file OggFile.hh.
|
friend |
Definition at line 81 of file OggFile.hh.
|
private |
Definition at line 88 of file OggFile.hh.
|
privateinherited |
Definition at line 82 of file Media.hh.
Referenced by Medium::envir().
|
private |
Definition at line 83 of file OggFile.hh.
Referenced by fileName().
|
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().
|
private |
Definition at line 84 of file OggFile.hh.
|
private |
Definition at line 85 of file OggFile.hh.
|
private |
Definition at line 89 of file OggFile.hh.
|
private |
Definition at line 87 of file OggFile.hh.
Referenced by trackTable().