Progress on HTTP Smooth output for DTSCv2

This commit is contained in:
Erik Zandvliet 2013-05-17 15:15:52 +02:00
parent c9f37c57b5
commit 22295d3b5d
3 changed files with 78 additions and 27 deletions

View file

@ -89,14 +89,14 @@ namespace DTSC {
void writePacket(std::string & newPacket);
void writePacket(JSON::Value & newPacket);
void selectTracks(std::vector<std::string> & trackIDs);
bool atKeyframe();
private:
void readHeader(int pos);
std::string strbuffer;
JSON::Value jsonbuffer;
JSON::Value metadata;
JSON::Value firstmetadata;
//std::map<int, long> frames;
//std::map<int, long> msframes;
std::map<int,std::string> trackMapping;
long long int currtime;
long long int lastreadpos;
int currframe;
@ -157,5 +157,6 @@ namespace DTSC {
datatype datapointertype;
unsigned int buffercount;
unsigned int buffertime;
std::map<int,std::string> trackMapping;
};
}