Skip to content

Commit

Permalink
Add dist files for 4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Nov 11, 2022
1 parent c4fe795 commit df045d6
Show file tree
Hide file tree
Showing 17 changed files with 764 additions and 301 deletions.
465 changes: 337 additions & 128 deletions dist/dash.all.debug.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

10 changes: 5 additions & 5 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.

465 changes: 337 additions & 128 deletions dist/dash.mediaplayer.debug.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

8 changes: 4 additions & 4 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.

50 changes: 37 additions & 13 deletions dist/dash.offline.debug.js
Expand Up @@ -8390,7 +8390,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
* stallThreshold: 0.5,
* useAppendWindow: true,
* setStallState: true,
* avoidCurrentTimeRangePruning: false
* avoidCurrentTimeRangePruning: false,
* useChangeTypeForTrackSwitch: true
* },
* gaps: {
* jumpGaps: true,
Expand Down Expand Up @@ -8426,7 +8427,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
* },
* liveCatchup: {
* maxDrift: NaN,
* playbackRate: NaN,
* playbackRate: {min: NaN, max: NaN},
* playbackBufferMin: 0.5,
* enabled: false,
* mode: Constants.LIVE_CATCHUP_MODE_DEFAULT
Expand All @@ -8439,7 +8440,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
* video: Constants.TRACK_SWITCH_MODE_NEVER_REPLACE
* },
* selectionModeForInitialTrack: Constants.TRACK_SELECTION_MODE_HIGHEST_SELECTION_PRIORITY,
* fragmentRequestTimeout: 0,
* fragmentRequestTimeout: 20000,
* manifestRequestTimeout: 10000,
* retryIntervals: {
* [HTTPRequest.MPD_TYPE]: 500,
* [HTTPRequest.XLINK_EXPANSION_TYPE]: 500,
Expand Down Expand Up @@ -8595,6 +8597,9 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
* Avoids pruning of the buffered range that contains the current playback time.
*
* That buffered range is likely to have been enqueued for playback. Pruning it causes a flush and reenqueue in WPE and WebKitGTK based browsers. This stresses the video decoder and can cause stuttering on embedded platforms.
* @property {boolean} [useChangeTypeForTrackSwitch=true]
* If this flag is set to true then dash.js will use the MSE v.2 API call "changeType()" before switching to a different track.
* Note that some platforms might not implement the changeType functio. dash.js is checking for the availability before trying to call it.
*/

/**
Expand Down Expand Up @@ -8743,14 +8748,18 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
* If 0, then seeking operations won't be used for fixing latency deviations.
*
* Note: Catch-up mechanism is only applied when playing low latency live streams.
* @property {number} [playbackRate=NaN]
* Use this parameter to set the maximum catch up rate, as a percentage, for low latency live streams.
* @property {number} [playbackRate={min: NaN, max: NaN}]
* Use this parameter to set the minimum and maximum catch up rates, as percentages, for low latency live streams.
*
* In low latency mode, when measured latency is higher/lower than the target one, dash.js increases/decreases playback rate respectively up to (+/-) the percentage defined with this method until target is reached.
*
* Valid values for catch up rate are in range 0-0.5 (0-50%).
* Valid values for min catch up rate are in the range -0.5 to 0 (-50% to 0% playback rate decrease)
*
* Set it to NaN to turn off live catch up feature.
* Valid values for max catch up rate are in the range 0 to 1 (0% to 100% playback rate increase).
*
* Set min and max to NaN to turn off live catch up feature.
*
* These playback rate limits take precedence over any PlaybackRate values in ServiceDescription elements in an MPD. If only one of the min/max properties is given a value, the property without a value will not fall back to a ServiceDescription value. Its default value of NaN will be used.
*
* Note: Catch-up mechanism is only applied when playing low latency live streams.
* @property {number} [playbackBufferMin=NaN]
Expand Down Expand Up @@ -9004,9 +9013,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
* This mode makes the player select the track with a widest range of bitrates.
*
*
* @property {number} [fragmentRequestTimeout=0]
* @property {number} [fragmentRequestTimeout=20000]
* Time in milliseconds before timing out on loading a media fragment.
*
* @property {number} [manifestRequestTimeout=10000]
* Time in milliseconds before timing out on loading a manifest.
*
* Fragments that timeout are retried as if they failed.
* @property {module:Settings~RequestTypeSettings} [retryIntervals]
* Time in milliseconds of which to reload a failed file load attempt.
Expand Down Expand Up @@ -9036,7 +9048,9 @@ function Settings() {
var DISPATCH_KEY_MAP = {
'streaming.delay.liveDelay': _events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].SETTING_UPDATED_LIVE_DELAY,
'streaming.delay.liveDelayFragmentCount': _events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].SETTING_UPDATED_LIVE_DELAY_FRAGMENT_COUNT,
'streaming.liveCatchup.enabled': _events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].SETTING_UPDATED_CATCHUP_ENABLED
'streaming.liveCatchup.enabled': _events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].SETTING_UPDATED_CATCHUP_ENABLED,
'streaming.liveCatchup.playbackRate.min': _events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].SETTING_UPDATED_PLAYBACK_RATE_MIN,
'streaming.liveCatchup.playbackRate.max': _events_Events__WEBPACK_IMPORTED_MODULE_6__["default"].SETTING_UPDATED_PLAYBACK_RATE_MAX
};
/**
* @const {PlayerSettings} defaultSettings
Expand Down Expand Up @@ -9094,7 +9108,8 @@ function Settings() {
stallThreshold: 0.3,
useAppendWindow: true,
setStallState: true,
avoidCurrentTimeRangePruning: false
avoidCurrentTimeRangePruning: false,
useChangeTypeForTrackSwitch: true
},
gaps: {
jumpGaps: true,
Expand Down Expand Up @@ -9130,7 +9145,10 @@ function Settings() {
},
liveCatchup: {
maxDrift: NaN,
playbackRate: NaN,
playbackRate: {
min: NaN,
max: NaN
},
playbackBufferMin: 0.5,
enabled: null,
mode: _streaming_constants_Constants__WEBPACK_IMPORTED_MODULE_3__["default"].LIVE_CATCHUP_MODE_DEFAULT
Expand All @@ -9153,6 +9171,7 @@ function Settings() {
},
selectionModeForInitialTrack: _streaming_constants_Constants__WEBPACK_IMPORTED_MODULE_3__["default"].TRACK_SELECTION_MODE_HIGHEST_SELECTION_PRIORITY,
fragmentRequestTimeout: 20000,
manifestRequestTimeout: 10000,
retryIntervals: (_retryIntervals = {}, _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].MPD_TYPE, 500), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].XLINK_EXPANSION_TYPE, 500), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].MEDIA_SEGMENT_TYPE, 1000), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].INIT_SEGMENT_TYPE, 1000), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].BITSTREAM_SWITCHING_SEGMENT_TYPE, 1000), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].INDEX_SEGMENT_TYPE, 1000), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].MSS_FRAGMENT_INFO_SEGMENT_TYPE, 1000), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].LICENSE, 1000), _defineProperty(_retryIntervals, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].OTHER_TYPE, 1000), _defineProperty(_retryIntervals, "lowLatencyReductionFactor", 10), _retryIntervals),
retryAttempts: (_retryAttempts = {}, _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].MPD_TYPE, 3), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].XLINK_EXPANSION_TYPE, 1), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].MEDIA_SEGMENT_TYPE, 3), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].INIT_SEGMENT_TYPE, 3), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].BITSTREAM_SWITCHING_SEGMENT_TYPE, 3), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].INDEX_SEGMENT_TYPE, 3), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].MSS_FRAGMENT_INFO_SEGMENT_TYPE, 3), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].LICENSE, 3), _defineProperty(_retryAttempts, _streaming_vo_metrics_HTTPRequest__WEBPACK_IMPORTED_MODULE_4__["HTTPRequest"].OTHER_TYPE, 3), _defineProperty(_retryAttempts, "lowLatencyMultiplyFactor", 5), _retryAttempts),
abr: {
Expand Down Expand Up @@ -9942,6 +9961,8 @@ var CoreEvents = /*#__PURE__*/function (_EventsBase) {
_this.SETTING_UPDATED_LIVE_DELAY = 'settingUpdatedLiveDelay';
_this.SETTING_UPDATED_LIVE_DELAY_FRAGMENT_COUNT = 'settingUpdatedLiveDelayFragmentCount';
_this.SETTING_UPDATED_CATCHUP_ENABLED = 'settingUpdatedCatchupEnabled';
_this.SETTING_UPDATED_PLAYBACK_RATE_MIN = 'settingUpdatedPlaybackRateMin';
_this.SETTING_UPDATED_PLAYBACK_RATE_MAX = 'settingUpdatedPlaybackRateMax';
return _this;
}

Expand Down Expand Up @@ -10165,6 +10186,7 @@ __webpack_require__.r(__webpack_exports__);


var DEFAULT_ADJUST_SEEK_TIME_THRESHOLD = 0.5;
var SEGMENT_START_TIME_DELTA = 0.001;

function DashHandler(config) {
config = config || {};
Expand Down Expand Up @@ -10473,7 +10495,8 @@ function DashHandler(config) {


if (time < targetRequest.startTime) {
return targetRequest.startTime;
// Apply delta to segment start time to get around rounding issues
return targetRequest.startTime + SEGMENT_START_TIME_DELTA;
}

return Math.min(requestEndTime - targetThreshold, adjustedTime);
Expand Down Expand Up @@ -10546,7 +10569,8 @@ function DashHandler(config) {
}

if (!isNaN(targetRequest.startTime) && time < targetRequest.startTime && adjustedTime > targetRequest.startTime) {
return targetRequest.startTime;
// Apply delta to segment start time to get around rounding issues
return targetRequest.startTime + SEGMENT_START_TIME_DELTA;
}

return Math.min(requestEndTime - targetThreshold, adjustedTime);
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.min.js

Large diffs are not rendered by default.

43 changes: 32 additions & 11 deletions dist/dash.reporting.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.reporting.debug.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

0 comments on commit df045d6

Please sign in to comment.