Skip to content

Commit

Permalink
Add dist files for release 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Dec 23, 2021
1 parent 3d6cc6b commit 5dbc06a
Show file tree
Hide file tree
Showing 19 changed files with 51 additions and 41 deletions.
25 changes: 15 additions & 10 deletions dist/dash.all.debug.js
Expand Up @@ -19319,7 +19319,7 @@ function Settings() {
jumpLargeGaps: true,
smallGapLimit: 1.5,
threshold: 0.3,
enableSeekFix: false
enableSeekFix: true
},
utcSynchronization: {
enabled: true,
Expand Down Expand Up @@ -19732,7 +19732,7 @@ var Utils = /*#__PURE__*/function () {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getVersionString", function() { return getVersionString; });
var VERSION = '4.2.0';
var VERSION = '4.2.1';
function getVersionString() {
return VERSION;
}
Expand Down Expand Up @@ -24996,7 +24996,7 @@ function DashManifestModel() {
// to specifying a complete XML element(s) in the Event.
// It is useful when an event leans itself to a compact
// string representation'.
event.messageData = currentMpdEvent.messageData || currentMpdEvent.__text;
event.messageData = currentMpdEvent.messageData || currentMpdEvent.__cdata || currentMpdEvent.__text;
}

events.push(event);
Expand Down Expand Up @@ -28038,7 +28038,7 @@ function TimelineSegmentsGetter(config, isDynamic) {
// In some cases when requiredMediaTime = actual end time of the last segment
// it is possible that this time a bit exceeds the declared end time of the last segment.
// in this case we still need to include the last segment in the segment list.
if (requiredMediaTime < scaledTime + frag.d / fTimescale) {
if (requiredMediaTime < scaledTime + frag.d / fTimescale && requiredMediaTime >= scaledTime) {
var media = base.media;
var mediaRange = frag.mediaRange;

Expand Down Expand Up @@ -34269,8 +34269,10 @@ function Stream(config) {
errHandler.error(error);
} else if (!isInitialized) {
isInitialized = true;
eventBus.trigger(_core_events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].STREAM_INITIALIZED, {
streamInfo: streamInfo
videoModel.waitForReadyState(_constants_Constants__WEBPACK_IMPORTED_MODULE_0__["default"].VIDEO_ELEMENT_READY_STATES.HAVE_METADATA, function () {
eventBus.trigger(_core_events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].STREAM_INITIALIZED, {
streamInfo: streamInfo
});
});
}
}
Expand Down Expand Up @@ -35019,7 +35021,7 @@ function StreamProcessor(config) {
var representation = representationController.getCurrentRepresentation(); // If this statement is true we are stuck. A static manifest does not change and we did not find a valid request for the target time
// There is no point in trying again. We need to adjust the time in order to find a valid request. This can happen if the user/app seeked into a gap.

if (settings.get().streaming.gaps.enableSeekFix && !isDynamic && shouldUseExplicitTimeForRequest && playbackController.isSeeking()) {
if (settings.get().streaming.gaps.enableSeekFix && !isDynamic && shouldUseExplicitTimeForRequest && (playbackController.isSeeking() || playbackController.getTime() === 0)) {
var adjustedTime = dashHandler.getValidSeekTimeCloseToTargetTime(bufferingTime, mediaInfo, representation, settings.get().streaming.gaps.threshold);

if (!isNaN(adjustedTime)) {
Expand Down Expand Up @@ -43264,8 +43266,10 @@ function StreamController() {
var startTimeFromUri = _getStartTimeFromUriParameters(true);

if (!isNaN(startTimeFromUri)) {
logger.info('Start time from URI parameters: ' + startTimeFromUri);
startTime = Math.max(Math.min(startTime, startTimeFromUri), dvrWindow.start);
logger.info('Start time from URI parameters: ' + startTimeFromUri); // If calcFromSegmentTimeline is enabled we saw problems caused by the MSE.seekableRange when starting at dvrWindow.start. Apply a small offset to avoid this problem.

var offset = settings.get().streaming.timeShiftBuffer.calcFromSegmentTimeline ? 0.1 : 0;
startTime = Math.max(Math.min(startTime, startTimeFromUri), dvrWindow.start + offset);
}
}
} else {
Expand Down Expand Up @@ -49978,6 +49982,7 @@ function VideoModel() {
getVideoHeight: getVideoHeight,
getVideoRelativeOffsetTop: getVideoRelativeOffsetTop,
getVideoRelativeOffsetLeft: getVideoRelativeOffsetLeft,
waitForReadyState: waitForReadyState,
reset: reset
};
setup();
Expand Down Expand Up @@ -53098,7 +53103,7 @@ function ProtectionController(config) {
}
/**
* Returns all available key systems
* @return {*|*[]}
* @return {array}
*/


Expand Down
2 changes: 1 addition & 1 deletion dist/dash.all.debug.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dash.all.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dash.all.min.js.map

Large diffs are not rendered by default.

23 changes: 14 additions & 9 deletions dist/dash.mediaplayer.debug.js
Expand Up @@ -19246,7 +19246,7 @@ function Settings() {
jumpLargeGaps: true,
smallGapLimit: 1.5,
threshold: 0.3,
enableSeekFix: false
enableSeekFix: true
},
utcSynchronization: {
enabled: true,
Expand Down Expand Up @@ -19659,7 +19659,7 @@ var Utils = /*#__PURE__*/function () {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getVersionString", function() { return getVersionString; });
var VERSION = '4.2.0';
var VERSION = '4.2.1';
function getVersionString() {
return VERSION;
}
Expand Down Expand Up @@ -24923,7 +24923,7 @@ function DashManifestModel() {
// to specifying a complete XML element(s) in the Event.
// It is useful when an event leans itself to a compact
// string representation'.
event.messageData = currentMpdEvent.messageData || currentMpdEvent.__text;
event.messageData = currentMpdEvent.messageData || currentMpdEvent.__cdata || currentMpdEvent.__text;
}

events.push(event);
Expand Down Expand Up @@ -27965,7 +27965,7 @@ function TimelineSegmentsGetter(config, isDynamic) {
// In some cases when requiredMediaTime = actual end time of the last segment
// it is possible that this time a bit exceeds the declared end time of the last segment.
// in this case we still need to include the last segment in the segment list.
if (requiredMediaTime < scaledTime + frag.d / fTimescale) {
if (requiredMediaTime < scaledTime + frag.d / fTimescale && requiredMediaTime >= scaledTime) {
var media = base.media;
var mediaRange = frag.mediaRange;

Expand Down Expand Up @@ -34051,8 +34051,10 @@ function Stream(config) {
errHandler.error(error);
} else if (!isInitialized) {
isInitialized = true;
eventBus.trigger(_core_events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].STREAM_INITIALIZED, {
streamInfo: streamInfo
videoModel.waitForReadyState(_constants_Constants__WEBPACK_IMPORTED_MODULE_0__["default"].VIDEO_ELEMENT_READY_STATES.HAVE_METADATA, function () {
eventBus.trigger(_core_events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].STREAM_INITIALIZED, {
streamInfo: streamInfo
});
});
}
}
Expand Down Expand Up @@ -34801,7 +34803,7 @@ function StreamProcessor(config) {
var representation = representationController.getCurrentRepresentation(); // If this statement is true we are stuck. A static manifest does not change and we did not find a valid request for the target time
// There is no point in trying again. We need to adjust the time in order to find a valid request. This can happen if the user/app seeked into a gap.

if (settings.get().streaming.gaps.enableSeekFix && !isDynamic && shouldUseExplicitTimeForRequest && playbackController.isSeeking()) {
if (settings.get().streaming.gaps.enableSeekFix && !isDynamic && shouldUseExplicitTimeForRequest && (playbackController.isSeeking() || playbackController.getTime() === 0)) {
var adjustedTime = dashHandler.getValidSeekTimeCloseToTargetTime(bufferingTime, mediaInfo, representation, settings.get().streaming.gaps.threshold);

if (!isNaN(adjustedTime)) {
Expand Down Expand Up @@ -42968,8 +42970,10 @@ function StreamController() {
var startTimeFromUri = _getStartTimeFromUriParameters(true);

if (!isNaN(startTimeFromUri)) {
logger.info('Start time from URI parameters: ' + startTimeFromUri);
startTime = Math.max(Math.min(startTime, startTimeFromUri), dvrWindow.start);
logger.info('Start time from URI parameters: ' + startTimeFromUri); // If calcFromSegmentTimeline is enabled we saw problems caused by the MSE.seekableRange when starting at dvrWindow.start. Apply a small offset to avoid this problem.

var offset = settings.get().streaming.timeShiftBuffer.calcFromSegmentTimeline ? 0.1 : 0;
startTime = Math.max(Math.min(startTime, startTimeFromUri), dvrWindow.start + offset);
}
}
} else {
Expand Down Expand Up @@ -47372,6 +47376,7 @@ function VideoModel() {
getVideoHeight: getVideoHeight,
getVideoRelativeOffsetTop: getVideoRelativeOffsetTop,
getVideoRelativeOffsetLeft: getVideoRelativeOffsetLeft,
waitForReadyState: waitForReadyState,
reset: reset
};
setup();
Expand Down
2 changes: 1 addition & 1 deletion dist/dash.mediaplayer.debug.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dash.mediaplayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dash.mediaplayer.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dash.mss.debug.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/dash.mss.debug.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dash.mss.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/dash.offline.debug.js
Expand Up @@ -7323,7 +7323,7 @@ function Settings() {
jumpLargeGaps: true,
smallGapLimit: 1.5,
threshold: 0.3,
enableSeekFix: false
enableSeekFix: true
},
utcSynchronization: {
enabled: true,
Expand Down Expand Up @@ -10266,7 +10266,7 @@ function DashManifestModel() {
// to specifying a complete XML element(s) in the Event.
// It is useful when an event leans itself to a compact
// string representation'.
event.messageData = currentMpdEvent.messageData || currentMpdEvent.__text;
event.messageData = currentMpdEvent.messageData || currentMpdEvent.__cdata || currentMpdEvent.__text;
}

events.push(event);
Expand Down Expand Up @@ -12620,7 +12620,7 @@ function TimelineSegmentsGetter(config, isDynamic) {
// In some cases when requiredMediaTime = actual end time of the last segment
// it is possible that this time a bit exceeds the declared end time of the last segment.
// in this case we still need to include the last segment in the segment list.
if (requiredMediaTime < scaledTime + frag.d / fTimescale) {
if (requiredMediaTime < scaledTime + frag.d / fTimescale && requiredMediaTime >= scaledTime) {
var media = base.media;
var mediaRange = frag.mediaRange;

Expand Down
2 changes: 1 addition & 1 deletion dist/dash.offline.debug.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dash.offline.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dash.offline.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dash.protection.debug.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/dash.protection.debug.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dash.protection.min.js.map

Large diffs are not rendered by default.

0 comments on commit 5dbc06a

Please sign in to comment.