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

#include <MPEG1or2FileServerDemux.hh>

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

Public Member Functions

ServerMediaSubsessionnewAudioServerMediaSubsession ()
 
ServerMediaSubsessionnewVideoServerMediaSubsession (Boolean iFramesOnly=False, double vshPeriod=5.0)
 
ServerMediaSubsessionnewAC3AudioServerMediaSubsession ()
 
unsigned fileSize () const
 
float fileDuration () const
 
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 MPEG1or2FileServerDemuxcreateNew (UsageEnvironment &env, char const *fileName, Boolean reuseFirstSource)
 
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

TaskTokennextTask ()
 

Private Member Functions

 MPEG1or2FileServerDemux (UsageEnvironment &env, char const *fileName, Boolean reuseFirstSource)
 
virtual ~MPEG1or2FileServerDemux ()
 
MPEG1or2DemuxedElementaryStreamnewElementaryStream (unsigned clientSessionId, u_int8_t streamIdTag)
 
void onDemuxDeletion (MPEG1or2Demux *demuxBeingDeleted)
 

Static Private Member Functions

static void onDemuxDeletion (void *clientData, MPEG1or2Demux *demuxBeingDeleted)
 

Private Attributes

char const * fFileName
 
unsigned fFileSize
 
float fFileDuration
 
Boolean fReuseFirstSource
 
MPEG1or2DemuxfSession0Demux
 
MPEG1or2DemuxfLastCreatedDemux
 
unsigned fLastClientSessionId
 
UsageEnvironmentfEnviron
 
char fMediumName [mediumNameMaxLen]
 
TaskToken fNextTask
 

Friends

class MPEG1or2DemuxedServerMediaSubsession
 

Detailed Description

Definition at line 31 of file MPEG1or2FileServerDemux.hh.

Constructor & Destructor Documentation

◆ MPEG1or2FileServerDemux()

MPEG1or2FileServerDemux::MPEG1or2FileServerDemux ( UsageEnvironment env,
char const *  fileName,
Boolean  reuseFirstSource 
)
private

◆ ~MPEG1or2FileServerDemux()

virtual MPEG1or2FileServerDemux::~MPEG1or2FileServerDemux ( )
privatevirtual

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

◆ createNew()

static MPEG1or2FileServerDemux * MPEG1or2FileServerDemux::createNew ( UsageEnvironment env,
char const *  fileName,
Boolean  reuseFirstSource 
)
static

◆ envir()

UsageEnvironment & Medium::envir ( ) const
inlineinherited

◆ fileDuration()

float MPEG1or2FileServerDemux::fileDuration ( ) const
inline

Definition at line 44 of file MPEG1or2FileServerDemux.hh.

References fFileDuration.

◆ fileSize()

unsigned MPEG1or2FileServerDemux::fileSize ( ) const
inline

Definition at line 43 of file MPEG1or2FileServerDemux.hh.

References fFileSize.

◆ 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

◆ 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.

◆ newAC3AudioServerMediaSubsession()

ServerMediaSubsession * MPEG1or2FileServerDemux::newAC3AudioServerMediaSubsession ( )

◆ newAudioServerMediaSubsession()

ServerMediaSubsession * MPEG1or2FileServerDemux::newAudioServerMediaSubsession ( )

◆ newElementaryStream()

MPEG1or2DemuxedElementaryStream * MPEG1or2FileServerDemux::newElementaryStream ( unsigned  clientSessionId,
u_int8_t  streamIdTag 
)
private

◆ newVideoServerMediaSubsession()

ServerMediaSubsession * MPEG1or2FileServerDemux::newVideoServerMediaSubsession ( Boolean  iFramesOnly = False,
double  vshPeriod = 5.0 
)

◆ 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.

◆ onDemuxDeletion() [1/2]

void MPEG1or2FileServerDemux::onDemuxDeletion ( MPEG1or2Demux demuxBeingDeleted)
private

◆ onDemuxDeletion() [2/2]

static void MPEG1or2FileServerDemux::onDemuxDeletion ( void *  clientData,
MPEG1or2Demux demuxBeingDeleted 
)
staticprivate

Friends And Related Function Documentation

◆ MPEG1or2DemuxedServerMediaSubsession

Definition at line 53 of file MPEG1or2FileServerDemux.hh.

Field Documentation

◆ fEnviron

UsageEnvironment& Medium::fEnviron
privateinherited

Definition at line 82 of file Media.hh.

Referenced by Medium::envir().

◆ fFileDuration

float MPEG1or2FileServerDemux::fFileDuration
private

Definition at line 63 of file MPEG1or2FileServerDemux.hh.

Referenced by fileDuration().

◆ fFileName

char const* MPEG1or2FileServerDemux::fFileName
private

Definition at line 61 of file MPEG1or2FileServerDemux.hh.

◆ fFileSize

unsigned MPEG1or2FileServerDemux::fFileSize
private

Definition at line 62 of file MPEG1or2FileServerDemux.hh.

Referenced by fileSize().

◆ fLastClientSessionId

unsigned MPEG1or2FileServerDemux::fLastClientSessionId
private

Definition at line 67 of file MPEG1or2FileServerDemux.hh.

◆ fLastCreatedDemux

MPEG1or2Demux* MPEG1or2FileServerDemux::fLastCreatedDemux
private

Definition at line 66 of file MPEG1or2FileServerDemux.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().

◆ fReuseFirstSource

Boolean MPEG1or2FileServerDemux::fReuseFirstSource
private

Definition at line 64 of file MPEG1or2FileServerDemux.hh.

◆ fSession0Demux

MPEG1or2Demux* MPEG1or2FileServerDemux::fSession0Demux
private

Definition at line 65 of file MPEG1or2FileServerDemux.hh.


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