Generalized TS PMT generation, fixed various minor problems with MP4 and HTTP.

This commit is contained in:
Thulinma 2015-02-12 14:17:33 +01:00
parent f31552e37a
commit d6fb4baff4
5 changed files with 55 additions and 6 deletions

View file

@ -70,7 +70,7 @@ namespace TS {
unsigned int getTransportScramblingControl();
std::string toPrettyString(size_t indent = 0);
std::string getStrBuf();
const std::string& getStrBuf();
const char * getBuffer();
const char * getPayload();
int getPayloadLength();
@ -236,5 +236,7 @@ namespace TS {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
};
const std::string& createPMT(std::set<unsigned long>& selectedTracks, DTSC::Meta& myMeta);
} //TS namespace