Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
related to video-dev#1172
  • Loading branch information
mangui committed Jul 14, 2017
1 parent 6a9d679 commit f8749c8
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 10 deletions.
17 changes: 15 additions & 2 deletions dist/hls.js
Original file line number Diff line number Diff line change
Expand Up @@ -4066,8 +4066,21 @@ var StreamController = function (_EventHandler) {
if (fragPrevious) {
var targetSN = fragPrevious.sn + 1;
if (targetSN >= levelDetails.startSN && targetSN <= levelDetails.endSN) {
frag = fragments[targetSN - levelDetails.startSN];
_logger.logger.log('live playlist, switching playlist, load frag with next SN: ' + frag.sn);
var fragNext = fragments[targetSN - levelDetails.startSN];
if (fragPrevious.cc == fragNext.cc) {
frag = fragNext;
_logger.logger.log('live playlist, switching playlist, load frag with next SN: ' + frag.sn);
}
}
// next frag SN not available (or not with same continuity counter)
// look for a frag sharing the same CC
if (!frag) {
frag = _binarySearch2.default.search(fragments, function (frag) {
return fragPrevious.cc - frag.cc;
});
if (frag) {
_logger.logger.log('live playlist, switching playlist, load frag with same CC: ' + frag.sn);
}
}
}
if (!frag) {
Expand Down
4 changes: 2 additions & 2 deletions dist/hls.js.map

Large diffs are not rendered by default.

17 changes: 15 additions & 2 deletions dist/hls.light.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/hls.light.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.light.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.min.js

Large diffs are not rendered by default.

0 comments on commit f8749c8

Please sign in to comment.