rx-player 3.30.0 → 3.30.1-dev.2023032300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/VERSION +1 -1
- package/dist/_esm5.processed/core/api/public_api.js +2 -2
- package/dist/_esm5.processed/core/stream/orchestrator/stream_orchestrator.js +4 -1
- package/dist/_esm5.processed/experimental/tools/mediaCapabilitiesProber/index.js +0 -2
- package/dist/_esm5.processed/manifest/manifest.js +1 -1
- package/dist/mpd-parser.wasm +0 -0
- package/dist/rx-player.js +7 -4
- package/dist/rx-player.min.js +1 -1
- package/package.json +9 -2
- package/scripts/fast_demo_build.js +1 -1
- package/scripts/generate_full_demo.js +1 -1
- package/sonar-project.properties +1 -1
- package/src/core/api/public_api.ts +2 -2
- package/src/core/stream/orchestrator/stream_orchestrator.ts +5 -1
- package/src/experimental/tools/mediaCapabilitiesProber/index.ts +0 -4
- package/src/manifest/manifest.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v3.30.1 (2023-03-23)
|
|
4
|
+
|
|
5
|
+
### Bug fixes
|
|
6
|
+
|
|
7
|
+
- DASH: Fix issue which could lead to infinite rebuffering when switching between multiple Periods
|
|
8
|
+
|
|
3
9
|
## v3.30.0 (2023-03-07)
|
|
4
10
|
|
|
5
11
|
### Features
|
|
@@ -28,6 +34,8 @@
|
|
|
28
34
|
|
|
29
35
|
- DASH: better detect closed captions [#1187]
|
|
30
36
|
- DASH: handle `endNumber` DASH attribute [#1186]
|
|
37
|
+
- DASH: Do not merge AdaptationSet with role "main" anymore [#1214]
|
|
38
|
+
- DASH: parse `transferCharacteristics` property in the MPD to better detect hdr [#1212]
|
|
31
39
|
- Support encrypted contents on Panasonic 2019 TVs [#1226]
|
|
32
40
|
- Better handle SourceBuffer's QuotaExceededError, responsible for `MediaError` with the `BUFFER_FULL_ERROR` code [#1221]
|
|
33
41
|
- API: send available...TracksChange events in the very unlikely scenario where tracks are added after a manifest update [#1197]
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.30.
|
|
1
|
+
3.30.1-dev.2023032300
|
|
@@ -89,7 +89,7 @@ var Player = /** @class */ (function (_super) {
|
|
|
89
89
|
// Workaround to support Firefox autoplay on FF 42.
|
|
90
90
|
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
|
|
91
91
|
videoElement.preload = "auto";
|
|
92
|
-
_this.version = /* PLAYER_VERSION */ "3.30.
|
|
92
|
+
_this.version = /* PLAYER_VERSION */ "3.30.1-dev.2023032300";
|
|
93
93
|
_this.log = log;
|
|
94
94
|
_this.state = "STOPPED";
|
|
95
95
|
_this.videoElement = videoElement;
|
|
@@ -2339,5 +2339,5 @@ var Player = /** @class */ (function (_super) {
|
|
|
2339
2339
|
};
|
|
2340
2340
|
return Player;
|
|
2341
2341
|
}(EventEmitter));
|
|
2342
|
-
Player.version = /* PLAYER_VERSION */ "3.30.
|
|
2342
|
+
Player.version = /* PLAYER_VERSION */ "3.30.1-dev.2023032300";
|
|
2343
2343
|
export default Player;
|
|
@@ -438,7 +438,10 @@ export default function StreamOrchestrator(content, playbackObserver, representa
|
|
|
438
438
|
*/
|
|
439
439
|
function createNextPeriodStream(nextPeriod) {
|
|
440
440
|
if (nextStreamInfo !== null) {
|
|
441
|
-
|
|
441
|
+
if (nextStreamInfo.period.id === nextPeriod.id) {
|
|
442
|
+
return;
|
|
443
|
+
}
|
|
444
|
+
log.warn("Stream: Creating next `PeriodStream` while it was already created.", bufferType);
|
|
442
445
|
consecutivePeriodStreamCb.periodStreamCleared({ type: bufferType,
|
|
443
446
|
period: nextStreamInfo.period });
|
|
444
447
|
nextStreamInfo.canceller.cancel();
|
|
@@ -478,8 +478,8 @@ function updateDeciperability(manifest, isDecipherable) {
|
|
|
478
478
|
var result = isDecipherable(representation);
|
|
479
479
|
if (result !== representation.decipherable) {
|
|
480
480
|
updates.push({ manifest: manifest, period: period, adaptation: adaptation, representation: representation });
|
|
481
|
-
log.debug("Decipherability changed for \"".concat(representation.id, "\""), "(".concat(representation.bitrate, ")"), String(representation.decipherable));
|
|
482
481
|
representation.decipherable = result;
|
|
482
|
+
log.debug("Decipherability changed for \"".concat(representation.id, "\""), "(".concat(representation.bitrate, ")"), String(representation.decipherable));
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
}
|
package/dist/mpd-parser.wasm
CHANGED
|
Binary file
|
package/dist/rx-player.js
CHANGED
|
@@ -15672,8 +15672,8 @@ function updateDeciperability(manifest, isDecipherable) {
|
|
|
15672
15672
|
adaptation: adaptation,
|
|
15673
15673
|
representation: representation
|
|
15674
15674
|
});
|
|
15675
|
-
log/* default.debug */.Z.debug("Decipherability changed for \"" + representation.id + "\"", "(" + representation.bitrate + ")", String(representation.decipherable));
|
|
15676
15675
|
representation.decipherable = result;
|
|
15676
|
+
log/* default.debug */.Z.debug("Decipherability changed for \"" + representation.id + "\"", "(" + representation.bitrate + ")", String(representation.decipherable));
|
|
15677
15677
|
}
|
|
15678
15678
|
}
|
|
15679
15679
|
}
|
|
@@ -47549,7 +47549,10 @@ function StreamOrchestrator(content, playbackObserver, representationEstimator,
|
|
|
47549
47549
|
*/
|
|
47550
47550
|
function createNextPeriodStream(nextPeriod) {
|
|
47551
47551
|
if (nextStreamInfo !== null) {
|
|
47552
|
-
|
|
47552
|
+
if (nextStreamInfo.period.id === nextPeriod.id) {
|
|
47553
|
+
return;
|
|
47554
|
+
}
|
|
47555
|
+
log/* default.warn */.Z.warn("Stream: Creating next `PeriodStream` while it was already created.", bufferType);
|
|
47553
47556
|
consecutivePeriodStreamCb.periodStreamCleared({
|
|
47554
47557
|
type: bufferType,
|
|
47555
47558
|
period: nextStreamInfo.period
|
|
@@ -52017,7 +52020,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
|
|
|
52017
52020
|
// Workaround to support Firefox autoplay on FF 42.
|
|
52018
52021
|
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
|
|
52019
52022
|
videoElement.preload = "auto";
|
|
52020
|
-
_this.version = /* PLAYER_VERSION */"3.30.
|
|
52023
|
+
_this.version = /* PLAYER_VERSION */"3.30.1-dev.2023032300";
|
|
52021
52024
|
_this.log = log/* default */.Z;
|
|
52022
52025
|
_this.state = "STOPPED";
|
|
52023
52026
|
_this.videoElement = videoElement;
|
|
@@ -54332,7 +54335,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
|
|
|
54332
54335
|
}]);
|
|
54333
54336
|
return Player;
|
|
54334
54337
|
}(event_emitter/* default */.Z);
|
|
54335
|
-
Player.version = /* PLAYER_VERSION */"3.30.
|
|
54338
|
+
Player.version = /* PLAYER_VERSION */"3.30.1-dev.2023032300";
|
|
54336
54339
|
/* harmony default export */ var public_api = (Player);
|
|
54337
54340
|
;// CONCATENATED MODULE: ./src/core/api/index.ts
|
|
54338
54341
|
/**
|