rx-player 4.2.0-dev.2024091600 → 4.2.0-dev.2024100200
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 +20 -11
- package/VERSION +1 -1
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
- package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +1 -1
- package/dist/commonjs/compat/eme/close_session.js +2 -2
- package/dist/commonjs/compat/eme/load_session.js +2 -2
- package/dist/commonjs/compat/patch_webkit_source_buffer.d.ts.map +1 -1
- package/dist/commonjs/compat/patch_webkit_source_buffer.js +0 -3
- package/dist/commonjs/config.d.ts +7 -156
- package/dist/commonjs/config.d.ts.map +1 -1
- package/dist/commonjs/config.js +50 -3
- package/dist/commonjs/core/fetchers/manifest/manifest_fetcher.js +2 -2
- package/dist/commonjs/core/fetchers/segment/segment_fetcher.js +2 -2
- package/dist/commonjs/core/fetchers/utils/schedule_request.js +2 -2
- package/dist/commonjs/core/main/worker/worker_main.d.ts.map +1 -1
- package/dist/commonjs/core/main/worker/worker_main.js +7 -0
- package/dist/commonjs/core/segment_sinks/garbage_collector.js +2 -2
- package/dist/commonjs/core/segment_sinks/implementations/audio_video/audio_video_segment_buffer.js +2 -2
- package/dist/commonjs/core/segment_sinks/implementations/text/text_segment_buffer.js +2 -2
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts.map +1 -1
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.js +35 -9
- package/dist/commonjs/core/stream/adaptation/index.d.ts +1 -1
- package/dist/commonjs/core/stream/adaptation/index.d.ts.map +1 -1
- package/dist/commonjs/core/stream/adaptation/index.js +0 -15
- package/dist/commonjs/core/stream/orchestrator/stream_orchestrator.js +2 -2
- package/dist/commonjs/core/stream/period/index.d.ts +1 -1
- package/dist/commonjs/core/stream/period/index.d.ts.map +1 -1
- package/dist/commonjs/core/stream/period/index.js +0 -15
- package/dist/commonjs/core/stream/period/period_stream.js +2 -2
- package/dist/commonjs/core/stream/representation/index.d.ts +1 -1
- package/dist/commonjs/core/stream/representation/index.d.ts.map +1 -1
- package/dist/commonjs/core/stream/representation/index.js +0 -15
- package/dist/commonjs/core/stream/representation/representation_stream.d.ts.map +1 -1
- package/dist/commonjs/core/stream/representation/representation_stream.js +2 -0
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -1
- package/dist/commonjs/core/stream/representation/utils/append_segment_to_buffer.js +16 -11
- package/dist/commonjs/core/stream/representation/utils/push_init_segment.js +2 -2
- package/dist/commonjs/core/stream/representation/utils/push_media_segment.js +2 -2
- package/dist/commonjs/default_config.js +4 -0
- package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +2 -2
- package/dist/commonjs/experimental/tools/createMetaplaylist/get_duration_from_manifest.js +2 -2
- package/dist/commonjs/main_thread/api/public_api.d.ts.map +1 -1
- package/dist/commonjs/main_thread/api/public_api.js +19 -4
- package/dist/commonjs/main_thread/decrypt/attach_media_keys.js +2 -2
- package/dist/commonjs/main_thread/decrypt/content_decryptor.d.ts.map +1 -1
- package/dist/commonjs/main_thread/decrypt/content_decryptor.js +4 -2
- package/dist/commonjs/main_thread/decrypt/create_or_load_session.js +2 -2
- package/dist/commonjs/main_thread/decrypt/create_session.js +2 -2
- package/dist/commonjs/main_thread/decrypt/dispose_decryption_resources.js +2 -2
- package/dist/commonjs/main_thread/decrypt/find_key_system.js +2 -2
- package/dist/commonjs/main_thread/decrypt/get_media_keys.d.ts.map +1 -1
- package/dist/commonjs/main_thread/decrypt/get_media_keys.js +3 -2
- package/dist/commonjs/main_thread/decrypt/init_media_keys.js +2 -2
- package/dist/commonjs/main_thread/decrypt/session_events_listener.js +2 -2
- package/dist/commonjs/main_thread/decrypt/set_server_certificate.js +2 -4
- package/dist/commonjs/main_thread/decrypt/utils/clean_old_loaded_sessions.js +2 -2
- package/dist/commonjs/main_thread/decrypt/utils/loaded_sessions_store.js +2 -2
- package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts.map +1 -1
- package/dist/commonjs/main_thread/init/directfile_content_initializer.js +14 -6
- package/dist/commonjs/main_thread/init/media_source_content_initializer.js +2 -2
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts +13 -0
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts.map +1 -1
- package/dist/commonjs/main_thread/init/multi_thread_content_initializer.js +96 -47
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts +1 -1
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -1
- package/dist/commonjs/main_thread/init/utils/initial_seek_and_play.js +21 -5
- package/dist/commonjs/mse/main_media_source_interface.d.ts.map +1 -1
- package/dist/commonjs/mse/main_media_source_interface.js +21 -2
- package/dist/commonjs/multithread_types.d.ts +8 -1
- package/dist/commonjs/multithread_types.d.ts.map +1 -1
- package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/dash-wasm-parser.js +2 -2
- package/dist/commonjs/parsers/manifest/index.d.ts +1 -1
- package/dist/commonjs/parsers/manifest/index.d.ts.map +1 -1
- package/dist/commonjs/parsers/manifest/index.js +0 -15
- package/dist/commonjs/transports/dash/integrity_checks.js +2 -2
- package/dist/commonjs/transports/dash/load_chunked_segment_data.js +2 -2
- package/dist/commonjs/transports/dash/segment_loader.js +2 -2
- package/dist/commonjs/transports/dash/text_loader.js +2 -2
- package/dist/commonjs/transports/smooth/pipelines.d.ts.map +1 -1
- package/dist/commonjs/transports/smooth/pipelines.js +1 -0
- package/dist/commonjs/transports/smooth/segment_loader.js +2 -2
- package/dist/commonjs/transports/utils/parse_text_track.d.ts.map +1 -1
- package/dist/commonjs/transports/utils/parse_text_track.js +1 -0
- package/dist/commonjs/utils/request/fetch.js +2 -2
- package/dist/commonjs/utils/retry_promise_with_backoff.js +2 -2
- package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
- package/dist/es2017/__GENERATED_CODE/embedded_worker.js +1 -1
- package/dist/es2017/compat/patch_webkit_source_buffer.d.ts.map +1 -1
- package/dist/es2017/compat/patch_webkit_source_buffer.js +0 -3
- package/dist/es2017/config.d.ts +7 -156
- package/dist/es2017/config.d.ts.map +1 -1
- package/dist/es2017/config.js +6 -1
- package/dist/es2017/core/main/worker/worker_main.d.ts.map +1 -1
- package/dist/es2017/core/main/worker/worker_main.js +7 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts.map +1 -1
- package/dist/es2017/core/stream/adaptation/adaptation_stream.js +33 -7
- package/dist/es2017/core/stream/adaptation/index.d.ts +1 -1
- package/dist/es2017/core/stream/adaptation/index.d.ts.map +1 -1
- package/dist/es2017/core/stream/adaptation/index.js +0 -1
- package/dist/es2017/core/stream/period/index.d.ts +1 -1
- package/dist/es2017/core/stream/period/index.d.ts.map +1 -1
- package/dist/es2017/core/stream/period/index.js +0 -1
- package/dist/es2017/core/stream/representation/index.d.ts +1 -1
- package/dist/es2017/core/stream/representation/index.d.ts.map +1 -1
- package/dist/es2017/core/stream/representation/index.js +0 -1
- package/dist/es2017/core/stream/representation/representation_stream.d.ts.map +1 -1
- package/dist/es2017/core/stream/representation/representation_stream.js +2 -0
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.d.ts.map +1 -1
- package/dist/es2017/core/stream/representation/utils/append_segment_to_buffer.js +6 -2
- package/dist/es2017/default_config.js +4 -0
- package/dist/es2017/main_thread/api/public_api.d.ts.map +1 -1
- package/dist/es2017/main_thread/api/public_api.js +17 -2
- package/dist/es2017/main_thread/decrypt/content_decryptor.d.ts.map +1 -1
- package/dist/es2017/main_thread/decrypt/content_decryptor.js +2 -0
- package/dist/es2017/main_thread/decrypt/get_media_keys.d.ts.map +1 -1
- package/dist/es2017/main_thread/decrypt/get_media_keys.js +1 -0
- package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts.map +1 -1
- package/dist/es2017/main_thread/init/directfile_content_initializer.js +14 -6
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts +13 -0
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts.map +1 -1
- package/dist/es2017/main_thread/init/multi_thread_content_initializer.js +78 -41
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts +1 -1
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.d.ts.map +1 -1
- package/dist/es2017/main_thread/init/utils/initial_seek_and_play.js +19 -3
- package/dist/es2017/mse/main_media_source_interface.d.ts.map +1 -1
- package/dist/es2017/mse/main_media_source_interface.js +19 -0
- package/dist/es2017/multithread_types.d.ts +8 -1
- package/dist/es2017/multithread_types.d.ts.map +1 -1
- package/dist/es2017/parsers/manifest/index.d.ts +1 -1
- package/dist/es2017/parsers/manifest/index.d.ts.map +1 -1
- package/dist/es2017/parsers/manifest/index.js +1 -1
- package/dist/es2017/transports/smooth/pipelines.d.ts.map +1 -1
- package/dist/es2017/transports/smooth/pipelines.js +1 -0
- package/dist/es2017/transports/utils/parse_text_track.d.ts.map +1 -1
- package/dist/es2017/transports/utils/parse_text_track.js +1 -0
- package/dist/rx-player.js +101 -23
- package/dist/rx-player.min.js +14 -14
- package/dist/worker.js +6 -6
- package/package.json +38 -21
- package/src/__GENERATED_CODE/embedded_worker.ts +1 -1
- package/src/compat/patch_webkit_source_buffer.ts +0 -3
- package/src/config.ts +10 -2
- package/src/core/main/worker/worker_main.ts +8 -0
- package/src/core/stream/adaptation/adaptation_stream.ts +41 -8
- package/src/core/stream/adaptation/index.ts +1 -1
- package/src/core/stream/period/index.ts +1 -1
- package/src/core/stream/representation/index.ts +1 -1
- package/src/core/stream/representation/representation_stream.ts +11 -0
- package/src/core/stream/representation/utils/append_segment_to_buffer.ts +6 -2
- package/src/default_config.ts +21 -0
- package/src/main_thread/api/public_api.ts +19 -2
- package/src/main_thread/decrypt/content_decryptor.ts +2 -0
- package/src/main_thread/decrypt/get_media_keys.ts +1 -0
- package/src/main_thread/init/directfile_content_initializer.ts +20 -10
- package/src/main_thread/init/multi_thread_content_initializer.ts +94 -61
- package/src/main_thread/init/utils/initial_seek_and_play.ts +24 -5
- package/src/mse/main_media_source_interface.ts +20 -0
- package/src/multithread_types.ts +9 -0
- package/src/parsers/manifest/index.ts +1 -1
- package/src/transports/smooth/pipelines.ts +1 -0
- package/src/transports/utils/parse_text_track.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Current dev build: v4.2.0-dev.
|
|
3
|
+
## Current dev build: v4.2.0-dev.2024100200
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
information on ALL representations, even those that won't be played [#1501]
|
|
15
15
|
- Add `LogFormat` static property to the `RxPlayer` to try improving on bug reports
|
|
16
16
|
[#1469]
|
|
17
|
+
- Experimentally re-export config in v4 (only intended for debugging matters) [#1510]
|
|
17
18
|
|
|
18
19
|
### Bug fixes
|
|
19
20
|
|
|
@@ -22,26 +23,39 @@
|
|
|
22
23
|
- Work-around the "hulu issue" seen on firefox 129 and 130 (`1911283` and `1912238` on
|
|
23
24
|
bugzilla) which also impacted the RxPlayer [#1495, #1498]
|
|
24
25
|
- Fix rare cases where the active Period would not be advertised by the RxPlayer [#1502]
|
|
26
|
+
- Actually trigger a `BUFFER_FULL_ERROR` when `QuotaExceededError` mitigations after
|
|
27
|
+
`appendBuffer` MSE calls don't work #1546
|
|
28
|
+
- Fix issues when handling a `QuotaExceededError` after an `appendBuffer` MSE call [#1546, #1559]
|
|
29
|
+
- Directfile/Compat: Fix `startAt.fromLastPosition` handling on Safari when playing
|
|
30
|
+
directfile contents [#1548]
|
|
25
31
|
- DRM/Compat: Re-create MediaKeys for each content on Philips' NETTV, and `KSTB40XX`
|
|
26
32
|
set-top boxes [#1515]
|
|
27
33
|
- DRM/Compat: fix content not starting on Safari because key are never considered usable
|
|
28
34
|
for a track [#1479, #1512]
|
|
29
35
|
- DASH_WASM: fix `Label` element never being parsed [#1541, #1540]
|
|
30
36
|
- Fix RxPlayer not being exposed in release bundles [#1542]
|
|
37
|
+
- Consider `stpp.ttml` codec for text format [#1557]
|
|
38
|
+
- Prevent very rare cases of infinite rebuffering after getting errors from calling the
|
|
39
|
+
`SourceBuffer.prototype.appendBuffer` and `SourceBuffer.prototype.remove` MSE API
|
|
40
|
+
[#1560, #1561]
|
|
31
41
|
- MULTI_THREAD: Fix rare `CancellationError` error happening when reloading while a reload
|
|
32
42
|
is pending. [#1528]
|
|
33
43
|
- MULTI_THREAD: fix wrong Period considered as current in multi-Period DASH contents with
|
|
34
44
|
the multi-thread feature [#1527]
|
|
45
|
+
- MULTI_THREAD: Fix rare occurrences of infinite loading on constrained devices [#1556]
|
|
35
46
|
|
|
36
47
|
### Other improvements
|
|
37
48
|
|
|
38
49
|
- DASH: provide a more precize calculation for the timeshift buffer depth [#1483]
|
|
39
50
|
- Handle `hev1` codec and `hvc1` codecs as part of the same family of codecs when trying
|
|
40
51
|
to check for compatibility between the two [#1499]
|
|
52
|
+
- Better handle `QuotaExceededError` issue after `appendBuffer` MSE calls when
|
|
53
|
+
`wantedBufferAhead` is set to `Infinity` [#1546]
|
|
41
54
|
- Code: Forbid the direct usage of MSE and HTML5 media TypeScript type in profit of our
|
|
42
55
|
own compatible ones to facilitate testing and the addition of platform-specific
|
|
43
56
|
differences [#1397].
|
|
44
57
|
- Demo: Remove standalone demo as we never relied on it [#1473]
|
|
58
|
+
- Scripts: Automatize official releases and CHANGELOG.md updating through a script [#1524]
|
|
45
59
|
|
|
46
60
|
## v4.1.0 (2024-07-08)
|
|
47
61
|
|
|
@@ -51,8 +65,7 @@
|
|
|
51
65
|
|
|
52
66
|
### Bug fixes
|
|
53
67
|
|
|
54
|
-
- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443,
|
|
55
|
-
#1440]
|
|
68
|
+
- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443, #1440]
|
|
56
69
|
- DASH: fix cases of blinking subtitles [#1416, #1424]
|
|
57
70
|
- Fix precision issues of the `maxVideoBufferSize` API [#1421]
|
|
58
71
|
- DASH: Prevent multiple loading of the same segment for some DASH low-latency contents
|
|
@@ -66,8 +79,7 @@
|
|
|
66
79
|
- MULTI_THREAD: Perform several actions so that our `MULTI_THREAD` experimental feature
|
|
67
80
|
now works on older browser and on the Playstation 4 [#1401, #1402]
|
|
68
81
|
- Directfile/Compat: On safari on iOS no longer stay stuck in buffering when `autoPlay` is
|
|
69
|
-
set to `false` or not set and the video element has the attribute "playsinline" [#1408,
|
|
70
|
-
#1390]
|
|
82
|
+
set to `false` or not set and the video element has the attribute "playsinline" [#1408, #1390]
|
|
71
83
|
- Directfile/compat: On safari mobile in directfile mode, do not stay in an infinite
|
|
72
84
|
`LOADING` state if the `duration` is set to `NaN` (rare issue in a normally-unsupported
|
|
73
85
|
multiple RxPlayer-per-media-element scenario) [#1393]
|
|
@@ -706,8 +718,7 @@
|
|
|
706
718
|
- TypeScript: Add IBitrateEstimate, IPositionUpdate and IPlayerState types to the exported
|
|
707
719
|
types [#1084]
|
|
708
720
|
- Remove dependency on pinkie's promise ponyfill [#1058, #1090]
|
|
709
|
-
- tests: add performance tests, to better catch and avoid performance regressions [#1053,
|
|
710
|
-
#1062]
|
|
721
|
+
- tests: add performance tests, to better catch and avoid performance regressions [#1053, #1062]
|
|
711
722
|
- DRM: Refactor DRM logic for better maintainability. DRM-linked logs are now prefixed by
|
|
712
723
|
`DRM:` instead of `EME:` like previously [#1042]
|
|
713
724
|
|
|
@@ -851,8 +862,7 @@
|
|
|
851
862
|
- Update used RxJS version to 7.0.0, which might bring with it a smaller size and better
|
|
852
863
|
performances [#954]
|
|
853
864
|
- demo: remove Chart.js dependency (we found that its new API documentation and errors
|
|
854
|
-
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955,
|
|
855
|
-
#957]
|
|
865
|
+
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955, #957]
|
|
856
866
|
|
|
857
867
|
## v3.24.0 (2021-04-01)
|
|
858
868
|
|
|
@@ -860,8 +870,7 @@
|
|
|
860
870
|
|
|
861
871
|
- Add `inbandEvent` event for when an event is encountered in a media segment [#892]
|
|
862
872
|
- DRM: Add `singleLicensePer` `keySystems` option to be able to signal in advance that the
|
|
863
|
-
current content has a single license, even if it has multiple encryption keys [#863,
|
|
864
|
-
#904]
|
|
873
|
+
current content has a single license, even if it has multiple encryption keys [#863, #904]
|
|
865
874
|
- DRM: Add `keySystems[].licenseStorage.disableRetroCompatibility` boolean to unlock
|
|
866
875
|
optimizations when compatibility with EME sessions persisted in older RxPlayer versions
|
|
867
876
|
is not important [#919]
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.2.0-dev.
|
|
1
|
+
4.2.0-dev.2024100200
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedded_worker.d.ts","sourceRoot":"","sources":["../../../src/__GENERATED_CODE/embedded_worker.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"embedded_worker.d.ts","sourceRoot":"","sources":["../../../src/__GENERATED_CODE/embedded_worker.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,MAAkyrT,CAAC;AAC7yrT,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,CAAC;AACnC,eAAe,IAAI,CAAC"}
|