21#ifndef _MATROSKA_FILE_SERVER_DEMUX_HH
22#define _MATROSKA_FILE_SERVER_DEMUX_HH
24#ifndef _SERVER_MEDIA_SESSION_HH
28#ifndef _MATROSKA_FILE_HH
37 char const* preferredLanguage =
"eng");
64 char const* preferredLanguage);
MatroskaDemux * fLastCreatedDemux
onCreationFunc * fOnCreation
ServerMediaSubsession * newServerMediaSubsession()
void() onCreationFunc(MatroskaFileServerDemux *newDemux, void *clientData)
virtual ~MatroskaFileServerDemux()
MatroskaFileServerDemux(UsageEnvironment &env, char const *fileName, onCreationFunc *onCreation, void *onCreationClientData, char const *preferredLanguage)
char const * fileName() const
static void createNew(UsageEnvironment &env, char const *fileName, onCreationFunc *onCreation, void *onCreationClientData, char const *preferredLanguage="eng")
unsigned fLastClientSessionId
void onMatroskaFileCreation(MatroskaFile *newFile)
MatroskaFile * fOurMatroskaFile
static void onDemuxDeletion(void *clientData, MatroskaDemux *demuxBeingDeleted)
void * fOnCreationClientData
static void onMatroskaFileCreation(MatroskaFile *newFile, void *clientData)
MatroskaFile * ourMatroskaFile()
ServerMediaSubsession * newServerMediaSubsession(unsigned &resultTrackNumber)
FramedSource * newDemuxedTrack(unsigned clientSessionId, unsigned trackNumber)
void onDemuxDeletion(MatroskaDemux *demuxBeingDeleted)
ServerMediaSubsession * newServerMediaSubsessionByTrackNumber(unsigned trackNumber)
float fileDuration() const
u_int8_t fNextTrackTypeToCheck