ABST structure updated, contains al private data now
This commit is contained in:
parent
26fedaac9c
commit
bd0664928a
1 changed files with 21 additions and 1 deletions
|
@ -1,14 +1,34 @@
|
||||||
#include "box.h"
|
#include "box.h"
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
struct abst_serverentry {
|
||||||
|
std::string ServerBaseUrl;
|
||||||
|
};//abst_serverentry
|
||||||
|
|
||||||
|
struct abst_qualityentry {
|
||||||
|
std::string QualityModifier;
|
||||||
|
};//abst_qualityentry
|
||||||
|
|
||||||
class Box_abst {
|
class Box_abst {
|
||||||
public:
|
public:
|
||||||
Box_abst( );
|
Box_abst( );
|
||||||
~Box_abst();
|
~Box_abst();
|
||||||
Box * GetBox();
|
Box * GetBox();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint8_t curProfile;
|
uint8_t curProfile;
|
||||||
bool isLive;
|
bool isLive;
|
||||||
bool isUpdate;
|
bool isUpdate;
|
||||||
|
uint32_t curTimeScale;
|
||||||
|
uint32_t curMediatime;//write as uint64_t
|
||||||
|
uint32_t curSMPTE;//write as uint64_t
|
||||||
|
std::string curMovieIdentifier;
|
||||||
|
std::string curDRM;
|
||||||
|
std::string curMetaData;
|
||||||
|
std::vector<abst_serverentry> Servers;
|
||||||
|
std::vector<abst_qualityentry> Qualities;
|
||||||
|
std::vector<Box *> SegmentRunTables;
|
||||||
|
std::vector<Box *> FragmentRunTables;
|
||||||
Box * Container;
|
Box * Container;
|
||||||
};//Box_ftyp Class
|
};//Box_ftyp Class
|
||||||
|
|
Loading…
Add table
Reference in a new issue