rx-player 4.2.0-dev.2024092400 → 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 +10 -3
- 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/core/main/worker/worker_main.d.ts.map +1 -1
- package/dist/commonjs/core/main/worker/worker_main.js +3 -0
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.d.ts.map +1 -1
- package/dist/commonjs/core/stream/adaptation/adaptation_stream.js +15 -0
- 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/main_thread/api/public_api.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/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 +94 -45
- 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/transports/smooth/pipelines.d.ts.map +1 -1
- package/dist/commonjs/transports/smooth/pipelines.js +1 -0
- 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/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
- package/dist/es2017/__GENERATED_CODE/embedded_worker.js +1 -1
- package/dist/es2017/core/main/worker/worker_main.d.ts.map +1 -1
- package/dist/es2017/core/main/worker/worker_main.js +3 -0
- package/dist/es2017/core/stream/adaptation/adaptation_stream.d.ts.map +1 -1
- package/dist/es2017/core/stream/adaptation/adaptation_stream.js +15 -0
- 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/main_thread/api/public_api.js +2 -2
- 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/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 +53 -14
- package/dist/rx-player.min.js +8 -8
- package/dist/worker.js +5 -5
- package/package.json +19 -7
- package/src/__GENERATED_CODE/embedded_worker.ts +1 -1
- package/src/core/main/worker/worker_main.ts +3 -0
- package/src/core/stream/adaptation/adaptation_stream.ts +23 -1
- package/src/core/stream/representation/representation_stream.ts +11 -0
- package/src/main_thread/api/public_api.ts +2 -2
- package/src/main_thread/init/directfile_content_initializer.ts +20 -10
- package/src/main_thread/init/multi_thread_content_initializer.ts +94 -43
- 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/transports/smooth/pipelines.ts +1 -0
- package/src/transports/utils/parse_text_track.ts +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rx-player",
|
|
3
3
|
"author": "Canal+",
|
|
4
|
-
"version": "4.2.0-dev.
|
|
4
|
+
"version": "4.2.0-dev.2024100200",
|
|
5
5
|
"description": "Canal+ HTML5 Video Player",
|
|
6
6
|
"main": "./dist/commonjs/index.js",
|
|
7
7
|
"module": "./dist/es2017/index.js",
|
|
@@ -146,8 +146,10 @@
|
|
|
146
146
|
"sideEffects": false,
|
|
147
147
|
"scripts": {
|
|
148
148
|
"build": "./scripts/generate_build.mjs",
|
|
149
|
+
"build:noCheck": "./scripts/generate_build.mjs --no-check",
|
|
149
150
|
"build:all": "npm run clean:build && npm run build:wasm:release && npm run bundle && npm run bundle:min && npm run build",
|
|
150
151
|
"build:dev": "./scripts/generate_build.mjs --dev-mode",
|
|
152
|
+
"build:dev:noCheck": "./scripts/generate_build.mjs --dev-mode --no-check",
|
|
151
153
|
"build:wasm:debug": "mkdir -p dist && cd ./src/parsers/manifest/dash/wasm-parser && cargo build --target wasm32-unknown-unknown && cp target/wasm32-unknown-unknown/debug/mpd_node_parser.wasm ../../../../../dist/mpd-parser.wasm",
|
|
152
154
|
"build:wasm:release": "./scripts/build_wasm_release.sh",
|
|
153
155
|
"bundle": "./scripts/run_bundler.mjs src/index.ts --production-mode --globals -o dist/rx-player.js",
|
|
@@ -156,7 +158,7 @@
|
|
|
156
158
|
"bundle:watch": "./scripts/run_bundler.mjs src/index.ts --production-mode --globals -o dist/rx-player.js --watch",
|
|
157
159
|
"certificate": "./scripts/generate_certificate",
|
|
158
160
|
"check": "npm run check:types && npm run lint && npm run check:types:unit_tests",
|
|
159
|
-
"check:all": "npm run check:types && npm run lint && npm run lint:demo && npm run lint:tests && npm run test:unit && npm run test:integration && npm run test:memory && node -r esm ./scripts/check_nodejs_import_compatibility.js",
|
|
161
|
+
"check:all": "npm run check:types && npm run lint && npm run lint:demo && npm run lint:tests && npm run lint:scripts && npm run test:unit && npm run test:integration && npm run test:memory && node -r esm ./scripts/check_nodejs_import_compatibility.js",
|
|
160
162
|
"check:demo": "npm run check:demo:types && npm run lint:demo",
|
|
161
163
|
"check:demo:types": "tsc --noEmit --project demo/",
|
|
162
164
|
"clean:build": "scripts/utils/remove_dir.mjs dist",
|
|
@@ -174,10 +176,15 @@
|
|
|
174
176
|
"fmt:rust:check": "cd ./src/parsers/manifest/dash/wasm-parser && cargo fmt --check",
|
|
175
177
|
"lint": "eslint src -c .eslintrc.js",
|
|
176
178
|
"lint:demo": "eslint -c demo/.eslintrc.js demo/scripts",
|
|
179
|
+
"lint:scripts": "eslint -c scripts/.eslintrc.js --ext .js --ext .mjs --ext .cjs scripts",
|
|
177
180
|
"lint:tests": "eslint tests/**/*.js --ignore-pattern '/tests/performance/bundle*'",
|
|
178
181
|
"list": "node scripts/list-npm-scripts.mjs",
|
|
179
182
|
"prepublishOnly": "npm run build:all",
|
|
183
|
+
"releases:changelog": "./scripts/update_changelog.mjs",
|
|
184
|
+
"releases:demo": "./scripts/update_gh-pages_demo",
|
|
180
185
|
"releases:dev": "./scripts/make-dev-releases",
|
|
186
|
+
"releases:doc": "./scripts/update_gh-pages_doc",
|
|
187
|
+
"releases:official": "./scripts/make-official-release.sh",
|
|
181
188
|
"start": "node ./scripts/start_demo_web_server.mjs",
|
|
182
189
|
"start:wasm": "node ./scripts/start_demo_web_server.mjs --include-wasm",
|
|
183
190
|
"test:integration": "npm run test:integration:chrome && npm run test:integration:firefox",
|
|
@@ -236,7 +243,8 @@
|
|
|
236
243
|
"check:demo": "Check the validity of the demo directory by running the type checker and linter on it",
|
|
237
244
|
"check:demo:types": "Check TypeScript types in demo files",
|
|
238
245
|
"lint:demo": "Run linter on demo files",
|
|
239
|
-
"certificate": "Generate a certificate to be able to use HTTPS locally for the demo pages (`npm run start` will then listen to HTTPS requests through a communicated port)"
|
|
246
|
+
"certificate": "Generate a certificate to be able to use HTTPS locally for the demo pages (`npm run start` will then listen to HTTPS requests through a communicated port)",
|
|
247
|
+
"releases:demo": "Publish current demo as the GitHub's pages new demo page (\"stable\" branch only)"
|
|
240
248
|
},
|
|
241
249
|
"Type-check, format, or lint the current code": {
|
|
242
250
|
"check": "Check the validity of the src directory by running the type checker and linter on it",
|
|
@@ -271,7 +279,9 @@
|
|
|
271
279
|
"Build the player or one of its sub-parts": {
|
|
272
280
|
"Regular builds (used by JS bundlers)": {
|
|
273
281
|
"build": "Build the rx-player code in release mode",
|
|
274
|
-
"build:dev": "Build the rx-player code in development mode (more runtime checks, non-minified worker)"
|
|
282
|
+
"build:dev": "Build the rx-player code in development mode (more runtime checks, non-minified worker)",
|
|
283
|
+
"build:noCheck": "Build the rx-player code in release mode without performing compile-time type checks",
|
|
284
|
+
"build:dev:noCheck": "Build the rx-player code in development mode (more runtime checks, non-minified worker) without performing compile-time type checks"
|
|
275
285
|
},
|
|
276
286
|
"Legacy bundle builds (single-file bundles exporting to window.RxPlayer)": {
|
|
277
287
|
"bundle": "Build the player in dist/rx-player.js",
|
|
@@ -288,11 +298,13 @@
|
|
|
288
298
|
}
|
|
289
299
|
},
|
|
290
300
|
"Build the documentation pages": {
|
|
291
|
-
"doc": "Generate the HTML documentation in doc/generated/pages"
|
|
301
|
+
"doc": "Generate the HTML documentation in doc/generated/pages",
|
|
302
|
+
"releases:doc": "Publish current documentation as the GitHub's pages new documentation pages (\"stable\" branch only)"
|
|
292
303
|
},
|
|
293
304
|
"Make a release": {
|
|
294
|
-
"releases:dev": "Produce dev npm releases (which are tagged pre-releases on npm)
|
|
295
|
-
"
|
|
305
|
+
"releases:dev": "Produce dev npm releases (which are tagged pre-releases on npm) from the current branch.",
|
|
306
|
+
"releases:official": "Produce a new official release of the RxPlayer from the current branch.",
|
|
307
|
+
"update-version": "Update the version of the RxPlayer. Will update the codebase and perform every builds."
|
|
296
308
|
}
|
|
297
309
|
}
|
|
298
310
|
}
|