Skip to content

Commit

Permalink
update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed May 18, 2017
1 parent cf776b5 commit 3783a3c
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 23 deletions.
16 changes: 11 additions & 5 deletions dist/hls.js
Original file line number Diff line number Diff line change
Expand Up @@ -4532,7 +4532,9 @@ var StreamController = function (_EventHandler) {
var media = this.media,
currentTime = media ? media.currentTime : undefined,
config = this.config;
_logger.logger.log('media seeking to ' + currentTime.toFixed(3));
if (!isNaN(currentTime)) {
_logger.logger.log('media seeking to ' + currentTime.toFixed(3));
}
var mediaBuffer = this.mediaBuffer ? this.mediaBuffer : media;
var bufferInfo = _bufferHelper2.default.bufferInfo(mediaBuffer, currentTime, this.config.maxBufferHole);
if (this.state === State.FRAG_LOADING) {
Expand Down Expand Up @@ -4581,7 +4583,11 @@ var StreamController = function (_EventHandler) {
}, {
key: 'onMediaSeeked',
value: function onMediaSeeked() {
_logger.logger.log('media seeked to ' + this.media.currentTime.toFixed(3));
var media = this.media,
currentTime = media ? media.currentTime : undefined;
if (!isNaN(currentTime)) {
_logger.logger.log('media seeked to ' + currentTime.toFixed(3));
}
// tick to speed up FRAGMENT_PLAYING triggering
this.tick();
}
Expand Down Expand Up @@ -10140,7 +10146,7 @@ var Hls = function () {
key: 'version',
get: function get() {
// replaced with browserify-versionify transform
return '0.7.7';
return '0.7.8';
}
}, {
key: 'Events',
Expand Down Expand Up @@ -15574,8 +15580,8 @@ var WebVTTParser = {
}
}

if (presentationTime && !localTime) {
// If we have MPEGTS but no LOCAL time, offset = presentation time + discontinuity offset
if (presentationTime) {
// If we have MPEGTS, offset = presentation time + discontinuity offset
cueOffset = presentationTime + vttCCs.ccOffset - vttCCs.presentationOffset;
}

Expand Down
8 changes: 4 additions & 4 deletions dist/hls.js.map

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions dist/hls.light.js

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

6 changes: 3 additions & 3 deletions dist/hls.light.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/hls.min.js

Large diffs are not rendered by default.

0 comments on commit 3783a3c

Please sign in to comment.