21#ifndef _MPEG_1OR2_FILE_SERVER_DEMUX_HH
22#define _MPEG_1OR2_FILE_SERVER_DEMUX_HH
24#ifndef _SERVER_MEDIA_SESSION_HH
27#ifndef _MPEG_1OR2_DEMUXED_ELEMENTARY_STREAM_HH
38 double vshPeriod = 5.0
55 u_int8_t streamIdTag);
MPEG1or2DemuxedElementaryStream * newElementaryStream(unsigned clientSessionId, u_int8_t streamIdTag)
Boolean fReuseFirstSource
ServerMediaSubsession * newAudioServerMediaSubsession()
MPEG1or2Demux * fSession0Demux
ServerMediaSubsession * newAC3AudioServerMediaSubsession()
void onDemuxDeletion(MPEG1or2Demux *demuxBeingDeleted)
float fileDuration() const
static void onDemuxDeletion(void *clientData, MPEG1or2Demux *demuxBeingDeleted)
MPEG1or2Demux * fLastCreatedDemux
unsigned fileSize() const
MPEG1or2FileServerDemux(UsageEnvironment &env, char const *fileName, Boolean reuseFirstSource)
unsigned fLastClientSessionId
ServerMediaSubsession * newVideoServerMediaSubsession(Boolean iFramesOnly=False, double vshPeriod=5.0)
static MPEG1or2FileServerDemux * createNew(UsageEnvironment &env, char const *fileName, Boolean reuseFirstSource)
virtual ~MPEG1or2FileServerDemux()