Added header read speed timers, simplified header logic for VoD.
This commit is contained in:
parent
c534a2d3ca
commit
3446d022e8
8 changed files with 25 additions and 37 deletions
|
@ -29,6 +29,7 @@ namespace Mist {
|
|||
static void callbackWrapper(char * data, size_t len, unsigned int id);
|
||||
virtual bool checkArguments() = 0;
|
||||
virtual bool readHeader() = 0;
|
||||
virtual bool needHeader(){return !readExistingHeader();}
|
||||
virtual bool preRun(){return true;}
|
||||
virtual bool readExistingHeader();
|
||||
virtual bool atKeyFrame();
|
||||
|
@ -59,7 +60,6 @@ namespace Mist {
|
|||
int initialTime;
|
||||
int playing;
|
||||
unsigned int playUntil;
|
||||
unsigned int benchMark;
|
||||
|
||||
bool isBuffer;
|
||||
uint64_t activityCounter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue