Fixed DTSC Stream library multibitrate support.
This commit is contained in:
parent
8ddc1ab884
commit
785136f7cc
2 changed files with 21 additions and 6 deletions
|
@ -202,9 +202,11 @@ namespace DTSC {
|
|||
void dropRing(Ring * ptr);
|
||||
void updateHeaders();
|
||||
int canSeekms(unsigned int ms);
|
||||
livePos msSeek(unsigned int ms, std::set<int> allowedTracks);
|
||||
livePos msSeek(unsigned int ms, std::set<int> & allowedTracks);
|
||||
void setBufferTime(unsigned int ms);
|
||||
private:
|
||||
bool isNewest(DTSC::livePos & pos);
|
||||
DTSC::livePos getNext(DTSC::livePos & pos, std::set<int> & allowedTracks);
|
||||
private:
|
||||
std::map<livePos,JSON::Value> buffers;
|
||||
std::map<int,std::set<livePos> > keyframes;
|
||||
void addPacket(JSON::Value & newPack);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue