rx-player 4.5.0-dev.2026060400 → 4.5.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +15 -14
  2. package/VERSION +1 -1
  3. package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -1
  4. package/dist/commonjs/__GENERATED_CODE/embedded_dash_wasm.js +1 -1
  5. package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
  6. package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +1 -1
  7. package/dist/commonjs/core/fetchers/utils/schedule_request.d.ts.map +1 -1
  8. package/dist/commonjs/core/fetchers/utils/schedule_request.js +5 -2
  9. package/dist/commonjs/main_thread/api/public_api.js +2 -2
  10. package/dist/commonjs/main_thread/core_interface/monothread.d.ts.map +1 -1
  11. package/dist/commonjs/main_thread/core_interface/monothread.js +3 -2
  12. package/dist/commonjs/main_thread/render_thumbnail.d.ts.map +1 -1
  13. package/dist/commonjs/main_thread/render_thumbnail.js +7 -4
  14. package/dist/commonjs/main_thread/tracks_store/media_element_tracks_store.js +28 -27
  15. package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -1
  16. package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.js +1 -1
  17. package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
  18. package/dist/es2017/__GENERATED_CODE/embedded_worker.js +1 -1
  19. package/dist/es2017/core/fetchers/utils/schedule_request.d.ts.map +1 -1
  20. package/dist/es2017/core/fetchers/utils/schedule_request.js +5 -2
  21. package/dist/es2017/main_thread/api/public_api.js +2 -2
  22. package/dist/es2017/main_thread/core_interface/monothread.d.ts.map +1 -1
  23. package/dist/es2017/main_thread/core_interface/monothread.js +3 -2
  24. package/dist/es2017/main_thread/render_thumbnail.d.ts.map +1 -1
  25. package/dist/es2017/main_thread/render_thumbnail.js +7 -4
  26. package/dist/es2017/main_thread/tracks_store/media_element_tracks_store.js +28 -27
  27. package/dist/mpd-parser.wasm +0 -0
  28. package/dist/worker.js +1 -1
  29. package/package.json +2 -2
  30. package/src/__GENERATED_CODE/embedded_dash_wasm.ts +1 -1
  31. package/src/__GENERATED_CODE/embedded_worker.ts +1 -1
  32. package/src/core/fetchers/utils/schedule_request.ts +4 -2
  33. package/src/main_thread/__tests__/render_thumbnail.test.ts +193 -0
  34. package/src/main_thread/api/public_api.ts +2 -2
  35. package/src/main_thread/core_interface/monothread.ts +3 -2
  36. package/src/main_thread/render_thumbnail.ts +7 -4
  37. package/src/main_thread/tracks_store/media_element_tracks_store.ts +18 -18
  38. package/src/parsers/manifest/dash/wasm-parser/rs/lib.rs +1 -0
package/CHANGELOG.md CHANGED
@@ -1,17 +1,17 @@
1
1
  # Changelog
2
2
 
3
- ## Current dev build: v4.5.0-dev.2026060400
3
+ ## v4.5.0
4
4
 
5
5
  ### Features
6
6
 
7
7
  - `MULTI_THREAD`: Allow applications to define their own `representationFilter`,
8
8
  `segmentLoader` and `manifestLoader` callbacks worker-side [#1719]
9
9
  - `MULTI_THREAD`: Enable adding most transport features worker-side (`DASH`, `DASH_WASM`,
10
- `SMOOTH`, `LOCAL_MANIFEST` and `METAPLAYLIST`) to play them in `"multithreading"` mode
10
+ `SMOOTH`, `LOCAL_MANIFEST` and `METAPLAYLIST`) to play them in `"multithread"` mode
11
11
  [#1783]
12
12
  - `MediaError` with the code `MEDIA_TIME_BEFORE_MANIFEST` and `MEDIA_TIME_AFTER_MANIFEST`
13
- now have a `timeInfo` property to explicit the exact boundaries and present position
14
- linked to the issue [#1838]
13
+ now has a `timeInfo` property specifying the exact boundaries and position linked to the
14
+ issue [#1838]
15
15
 
16
16
  ### Bug fixes
17
17
 
@@ -19,29 +19,29 @@
19
19
  - DRM: When a license request times out, now send a `KEY_LOAD_TIMEOUT` error instead of
20
20
  `KEY_LOAD_ERROR`
21
21
  - DRM: Fix `"close-session"` handling that could unnecessarily close other DRM sessions
22
- - On Safari when beginning at `0`, seek explicitly to `0` because their native HLS player
23
- would else start at live position [#1803]
22
+ - On Safari when beginning at `0`, seek explicitly to `0` because its native HLS player
23
+ would otherwise start at live position [#1803]
24
24
  - Ignore unhandled runtime track types for period advertisement [#1850]
25
- - Fix `startAt.wallClockTime` on safari HLS live playlists [#1799]
25
+ - Fix `startAt.wallClockTime` on Safari HLS live playlists [#1799]
26
26
  - Fix rare scenario when an ended live audio content would not have its duration known
27
27
  until the end-of-stream [#1801]
28
28
  - TTML: Do not apply percentage line heights anymore as they are sometimes subtly broken
29
29
  [#1812]
30
30
  - Thumbnails: Fix shared thumbnail requests (through multiple `HTMLElement` for the same
31
- data) in `MULTI_THREAD` mode [#1830]
31
+ data) in `MULTI_THREAD` mode [#1830, #1853]
32
32
  - Thumbnails: Fix thumbnail request sometimes being wrongly cancelled [#1810]
33
33
  - API: Fix incomplete format in the initial `audioRepresentationChange` event
34
34
  - CMCD: fix the `headers` CMCD `communicationType` [#1809]
35
35
  - fix precision difference which triggered frequent content boundaries warnings [#1848]
36
36
  - Compat: To fix an issue with some older LG TV when playing retro-compatible Dolby Vision
37
37
  contents, patch out some Dolby Vision-related ISOBMFF boxes in some conditions [#1818]
38
- - Do not send two times a `streamEvent` after temporarily switching to the `RELOADING`
39
- state while playing it [#1828]
38
+ - Do not send a `streamEvent` twice after temporarily switching to the `RELOADING` state
39
+ while playing it [#1828]
40
40
  - Compat/DRM: Preserve `pssh` boxes in encrypted initialization segments on some DStv
41
- set-top boxes to fix playback of encrypted playback on them [#1822]
41
+ set-top boxes to fix encrypted playback on them [#1822]
42
42
  - Text: Continue playback if subtitle initialization fails instead of remaining stuck in
43
43
  `LOADING` [#1827]
44
- - directfile: fix side effects for multiples instance of media element track store [#1845]
44
+ - directfile: fix side effects for multiple instances of media element track store [#1845]
45
45
  - directfile/compat: fix issue on Safari with startAt.fromLivePosition with directfile
46
46
  content when duration is infinite [#1842]
47
47
 
@@ -50,7 +50,7 @@
50
50
  - Adaptive bitrate: React faster to sudden bandwidth drops when playback is close to
51
51
  starving [#1831]
52
52
  - Add `getMaximumPosition` and `getMinimumPosition` support when using directfile with HLS
53
- playlist on safari [#1800]
53
+ playlist on Safari [#1800]
54
54
  - CMCD: Avoid sending invalid CMCD values when playback rate is `0` or negative, and
55
55
  better escape string values [#1833]
56
56
  - Fix ordering of a PeriodChange/AdaptationChange couple that may have previously led to
@@ -58,7 +58,8 @@
58
58
  - Text track id can only be string [#1785]
59
59
  - The reload API now only throws if no `loadVideo` call has been made before [#1767]
60
60
  - Use native base64-bytes conversion utils when they exist [#1786]
61
- - Merge most of the multithreaded and monothreaded codebase to simplify maintainance
61
+ - consider HTTP 429 as retryable requests [#1860]
62
+ - Merge most of the multithreaded and monothreaded codebase to simplify maintenance
62
63
  [#1627]
63
64
 
64
65
  ## v4.4.1 (2025-12-10)
package/VERSION CHANGED
@@ -1 +1 @@
1
- 4.5.0-dev.2026060400
1
+ 4.5.0
@@ -1 +1 @@
1
- {"version":3,"file":"embedded_dash_wasm.d.ts","sourceRoot":"","sources":["../../../src/__GENERATED_CODE/embedded_dash_wasm.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe,aAAmpkV,CAAC;AACzqkV,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,CAAC;AACjD,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"embedded_dash_wasm.d.ts","sourceRoot":"","sources":["../../../src/__GENERATED_CODE/embedded_dash_wasm.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe,aAA0srV,CAAC;AAChurV,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,CAAC;AACjD,eAAe,eAAe,CAAC"}