rx-player 3.28.0-dev.2022071100 → 3.28.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## v3.28.0-dev.2022071100 (2022-07-11)
3
+ ## v3.28.0 (2022-07-12)
4
4
 
5
5
  ### Features
6
6
 
@@ -10,13 +10,14 @@
10
10
  ### Bug fixes
11
11
 
12
12
  - Use the first **compatible** codec of the current AdaptationSet when creating a SourceBuffer [#1094]
13
- - DASH/DRM: Fix potential infinite rebuffering when a KID is not anounced in the MPD [#1113]
13
+ - DASH/DRM: Fix potential infinite rebuffering when a KID is not announced in the MPD [#1113]
14
14
  - DRM: Fix quality fallback when loading a content whose license has been cached under an extended `singleLicensePer` setting and when starting (and staying) with a quality whose key id is not in it [#1133]
15
15
  - DASH: Avoid infinite loop due to rounding errors while parsing multi-Periods MPDs [#1111, #1110]
16
16
  - After a `RELOADING` state, stay in `PAUSED` if the media element was paused synchronously before the side-effect which triggered the reloading (usually coming from the API) was perform [#1132]
17
17
  - Fix issue with `maxVideoBufferSize` setting which could lead to too much data being buffered [#1125]
18
18
  - Prevent possibility of requests loops and infinite rebuffering when a pushed segment is always completely and immediately garbage collected by the browser [#1123]
19
19
  - DASH: Fix potential rare memory leak when stopping the content after it has reloaded at least once [#1135]
20
+ - Directfile: Properly announce the audio track's `audioDescription` accessibility attribute in directfile mode on Safari [#1136]
20
21
  - DASH: Fix issues that could arise if a segment is calculated to start at a negative position [#1122]
21
22
  - DASH: Fix possibility of wrong segments being requested when a SegmentTimeline in a given Period (whose Period@end is set) had an S@r set to `-1` at its end [#1098]
22
23
  - DASH: If the first `<S>` has its S@t attribute not set, make as if it is set to `0` [#1118]
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.28.0-dev.2022071100
1
+ 3.28.0
@@ -69,7 +69,7 @@ function createAudioTracks(audioTracks) {
69
69
  occurences.toString();
70
70
  languagesOccurences[language] = occurences + 1;
71
71
  var track = { language: audioTrack.language, id: id, normalized: normalizeLanguage(audioTrack.language),
72
- audioDescription: false,
72
+ audioDescription: audioTrack.kind === "descriptions",
73
73
  representations: [] };
74
74
  newAudioTracks.push({ track: track, nativeTrack: audioTrack });
75
75
  }
@@ -88,7 +88,7 @@ var Player = /** @class */ (function (_super) {
88
88
  // Workaround to support Firefox autoplay on FF 42.
89
89
  // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1194624
90
90
  videoElement.preload = "auto";
91
- _this.version = /* PLAYER_VERSION */ "3.28.0-dev.2022071100";
91
+ _this.version = /* PLAYER_VERSION */ "3.28.0";
92
92
  _this.log = log;
93
93
  _this.state = "STOPPED";
94
94
  _this.videoElement = videoElement;
@@ -2295,5 +2295,5 @@ var Player = /** @class */ (function (_super) {
2295
2295
  };
2296
2296
  return Player;
2297
2297
  }(EventEmitter));
2298
- Player.version = /* PLAYER_VERSION */ "3.28.0-dev.2022071100";
2298
+ Player.version = /* PLAYER_VERSION */ "3.28.0";
2299
2299
  export default Player;
package/dist/rx-player.js CHANGED
@@ -3931,7 +3931,7 @@ function createAudioTracks(audioTracks) {
3931
3931
  language: audioTrack.language,
3932
3932
  id: id,
3933
3933
  normalized: (0,_utils_languages__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)(audioTrack.language),
3934
- audioDescription: false,
3934
+ audioDescription: audioTrack.kind === "descriptions",
3935
3935
  representations: []
3936
3936
  };
3937
3937
  newAudioTracks.push({
@@ -61303,7 +61303,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
61303
61303
  videoElement.preload = "auto";
61304
61304
  _this.version =
61305
61305
  /* PLAYER_VERSION */
61306
- "3.28.0-dev.2022071100";
61306
+ "3.28.0";
61307
61307
  _this.log = log/* default */.Z;
61308
61308
  _this.state = "STOPPED";
61309
61309
  _this.videoElement = videoElement;
@@ -64124,7 +64124,7 @@ var Player = /*#__PURE__*/function (_EventEmitter) {
64124
64124
 
64125
64125
  Player.version =
64126
64126
  /* PLAYER_VERSION */
64127
- "3.28.0-dev.2022071100";
64127
+ "3.28.0";
64128
64128
  /* harmony default export */ var public_api = (Player);
64129
64129
  ;// CONCATENATED MODULE: ./src/core/api/index.ts
64130
64130
  /**