Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
related to video-dev#1464
  • Loading branch information
mangui committed Dec 18, 2017
1 parent 3b105a4 commit b442281
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 16 deletions.
15 changes: 9 additions & 6 deletions dist/hls.js
Original file line number Diff line number Diff line change
Expand Up @@ -5523,7 +5523,7 @@ var demuxer_inline_DemuxerInline = function () {
var typeSupported = this.typeSupported;
var config = this.config;
// probing order is TS/AAC/MP3/MP4
var muxConfig = [{ demux: tsdemuxer, remux: mp4_remuxer }, { demux: aacdemuxer, remux: mp4_remuxer }, { demux: mp3demuxer, remux: mp4_remuxer }, { demux: mp4demuxer, remux: passthrough_remuxer }];
var muxConfig = [{ demux: tsdemuxer, remux: mp4_remuxer }, { demux: mp4demuxer, remux: passthrough_remuxer }, { demux: aacdemuxer, remux: mp4_remuxer }, { demux: mp3demuxer, remux: mp4_remuxer }];

// probe for content type
for (var i = 0, len = muxConfig.length; i < len; i++) {
Expand Down Expand Up @@ -9177,7 +9177,8 @@ var level_controller_LevelController = function (_EventHandler) {

var level = this._levels[levelIndex];
var redundantLevels = void 0,
delay = void 0;
delay = void 0,
nextLevel = void 0;

level.loadError++;
level.fragmentError = fragmentError;
Expand Down Expand Up @@ -9215,10 +9216,12 @@ var level_controller_LevelController = function (_EventHandler) {
level.urlId = (level.urlId + 1) % redundantLevels;
level.details = undefined;
} else {
// Switch-down if more renditions are available
if (this.manualLevelIndex === -1 && levelIndex !== 0) {
logger["b" /* logger */].warn('level controller, ' + errorDetails + ': switch-down to ' + (levelIndex - 1));
this.hls.nextAutoLevel = this.currentLevelIndex = levelIndex - 1;
// Search for available level
if (this.manualLevelIndex === -1) {
// When lowest level has been reached, let's start hunt from the top
nextLevel = levelIndex === 0 ? this._levels.length - 1 : levelIndex - 1;
logger["b" /* logger */].warn('level controller, ' + errorDetails + ': switch to ' + nextLevel);
this.hls.nextAutoLevel = this.currentLevelIndex = nextLevel;
} else if (fragmentError === true) {
// Allow fragment retry as long as configuration allows.
// reset this._level so that another call to set level() will trigger again a frag load
Expand Down
2 changes: 1 addition & 1 deletion dist/hls.js.map

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions dist/hls.light.js

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

2 changes: 1 addition & 1 deletion 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 b442281

Please sign in to comment.