Fixed PAT/PMT/SDT continuity counters in HLS live streams
This commit is contained in:
parent
10be747522
commit
c6265f6659
1 changed files with 3 additions and 3 deletions
|
@ -336,9 +336,9 @@ namespace Mist{
|
||||||
H.StartResponse(H, myConn, VLCworkaround || config->getBool("nonchunked"));
|
H.StartResponse(H, myConn, VLCworkaround || config->getBool("nonchunked"));
|
||||||
// we assume whole fragments - but timestamps may be altered at will
|
// we assume whole fragments - but timestamps may be altered at will
|
||||||
uint32_t fragIndice = M.getFragmentIndexForTime(vidTrack, from);
|
uint32_t fragIndice = M.getFragmentIndexForTime(vidTrack, from);
|
||||||
contPAT = M.getMissedFragments(vidTrack) + fragIndice; // PAT continuity counter
|
contPAT = fragIndice; // PAT continuity counter
|
||||||
contPMT = M.getMissedFragments(vidTrack) + fragIndice; // PMT continuity counter
|
contPMT = fragIndice; // PMT continuity counter
|
||||||
contSDT = M.getMissedFragments(vidTrack) + fragIndice; // SDT continuity counter
|
contSDT = fragIndice; // SDT continuity counter
|
||||||
packCounter = 0;
|
packCounter = 0;
|
||||||
parseData = true;
|
parseData = true;
|
||||||
wantRequest = false;
|
wantRequest = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue