rx-player 4.2.0-dev.2024090600 → 4.2.0-dev.2024091600

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 (89) hide show
  1. package/CHANGELOG.md +14 -7
  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/cmcd/cmcd_data_builder.d.ts +12 -0
  8. package/dist/commonjs/core/cmcd/cmcd_data_builder.d.ts.map +1 -1
  9. package/dist/commonjs/core/cmcd/cmcd_data_builder.js +27 -1
  10. package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts +24 -0
  11. package/dist/commonjs/core/fetchers/segment/segment_fetcher.d.ts.map +1 -1
  12. package/dist/commonjs/core/fetchers/segment/segment_queue.d.ts.map +1 -1
  13. package/dist/commonjs/core/fetchers/segment/segment_queue.js +8 -7
  14. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +1 -1
  15. package/dist/commonjs/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +2 -2
  16. package/dist/commonjs/main_thread/api/public_api.js +2 -2
  17. package/dist/commonjs/parsers/manifest/dash/common/parse_mpd.js +2 -2
  18. package/dist/commonjs/parsers/manifest/dash/common/resolve_base_urls.js +2 -2
  19. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +1 -1
  20. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +6 -5
  21. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +4 -0
  22. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +1 -0
  23. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +12 -0
  24. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts +2 -1
  25. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +1 -1
  26. package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.js +2 -2
  27. package/dist/commonjs/parsers/manifest/smooth/create_parser.js +2 -2
  28. package/dist/commonjs/transports/dash/construct_segment_url.js +2 -2
  29. package/dist/commonjs/transports/smooth/utils.js +2 -2
  30. package/dist/commonjs/utils/{resolve_url.d.ts → url-utils.d.ts} +15 -4
  31. package/dist/commonjs/utils/url-utils.d.ts.map +1 -0
  32. package/dist/commonjs/utils/{resolve_url.js → url-utils.js} +71 -2
  33. package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.d.ts.map +1 -1
  34. package/dist/es2017/__GENERATED_CODE/embedded_dash_wasm.js +1 -1
  35. package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
  36. package/dist/es2017/__GENERATED_CODE/embedded_worker.js +1 -1
  37. package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts +12 -0
  38. package/dist/es2017/core/cmcd/cmcd_data_builder.d.ts.map +1 -1
  39. package/dist/es2017/core/cmcd/cmcd_data_builder.js +27 -1
  40. package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts +24 -0
  41. package/dist/es2017/core/fetchers/segment/segment_fetcher.d.ts.map +1 -1
  42. package/dist/es2017/core/fetchers/segment/segment_queue.d.ts.map +1 -1
  43. package/dist/es2017/core/fetchers/segment/segment_queue.js +8 -7
  44. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.d.ts.map +1 -1
  45. package/dist/es2017/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.js +2 -2
  46. package/dist/es2017/main_thread/api/public_api.js +2 -2
  47. package/dist/es2017/parsers/manifest/dash/common/parse_mpd.js +1 -1
  48. package/dist/es2017/parsers/manifest/dash/common/resolve_base_urls.js +1 -1
  49. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.d.ts.map +1 -1
  50. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.js +6 -5
  51. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts +4 -0
  52. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.d.ts.map +1 -0
  53. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Label.js +9 -0
  54. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts +2 -1
  55. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/types.d.ts.map +1 -1
  56. package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.js +1 -1
  57. package/dist/es2017/parsers/manifest/smooth/create_parser.js +1 -1
  58. package/dist/es2017/transports/dash/construct_segment_url.js +1 -1
  59. package/dist/es2017/transports/smooth/utils.js +1 -1
  60. package/dist/es2017/utils/{resolve_url.d.ts → url-utils.d.ts} +15 -4
  61. package/dist/es2017/utils/url-utils.d.ts.map +1 -0
  62. package/dist/es2017/utils/{resolve_url.js → url-utils.js} +71 -3
  63. package/dist/mpd-parser.wasm +0 -0
  64. package/dist/rx-player.js +245 -175
  65. package/dist/rx-player.min.js +15 -15
  66. package/dist/worker.js +8 -8
  67. package/package.json +5 -5
  68. package/src/__GENERATED_CODE/embedded_dash_wasm.ts +1 -1
  69. package/src/__GENERATED_CODE/embedded_worker.ts +1 -1
  70. package/src/core/cmcd/cmcd_data_builder.ts +68 -2
  71. package/src/core/fetchers/segment/segment_fetcher.ts +24 -0
  72. package/src/core/fetchers/segment/segment_queue.ts +11 -9
  73. package/src/experimental/tools/VideoThumbnailLoader/video_thumbnail_loader.ts +8 -2
  74. package/src/main_thread/api/public_api.ts +2 -2
  75. package/src/parsers/manifest/dash/common/parse_mpd.ts +1 -1
  76. package/src/parsers/manifest/dash/common/resolve_base_urls.ts +1 -1
  77. package/src/parsers/manifest/dash/wasm-parser/rs/events.rs +3 -2
  78. package/src/parsers/manifest/dash/wasm-parser/rs/processor/mod.rs +6 -2
  79. package/src/parsers/manifest/dash/wasm-parser/ts/generators/AdaptationSet.ts +10 -5
  80. package/src/parsers/manifest/dash/wasm-parser/ts/generators/Label.ts +16 -0
  81. package/src/parsers/manifest/dash/wasm-parser/ts/types.ts +3 -0
  82. package/src/parsers/manifest/metaplaylist/metaplaylist_parser.ts +1 -1
  83. package/src/parsers/manifest/smooth/create_parser.ts +1 -1
  84. package/src/transports/dash/construct_segment_url.ts +1 -1
  85. package/src/transports/smooth/utils.ts +1 -1
  86. package/src/utils/__tests__/{resolve_url.test.ts → url-utils.test.ts} +148 -1
  87. package/src/utils/{resolve_url.ts → url-utils.ts} +83 -5
  88. package/dist/commonjs/utils/resolve_url.d.ts.map +0 -1
  89. package/dist/es2017/utils/resolve_url.d.ts.map +0 -1
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.2024090600",
4
+ "version": "4.2.0-dev.2024091600",
5
5
  "description": "Canal+ HTML5 Video Player",
6
6
  "main": "./dist/commonjs/index.js",
7
7
  "module": "./dist/es2017/index.js",
@@ -145,10 +145,10 @@
145
145
  "build:dev": "./scripts/generate_build.mjs --dev-mode",
146
146
  "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",
147
147
  "build:wasm:release": "./scripts/build_wasm_release.sh",
148
- "bundle": "./scripts/run_bundler.mjs src/index.ts --production-mode -o dist/rx-player.js",
149
- "bundle:min": "./scripts/run_bundler.mjs src/index.ts --production-mode -o dist/rx-player.min.js --minify",
150
- "bundle:min:watch": "./scripts/run_bundler.mjs src/index.ts --production-mode -o dist/rx-player.min.js --minify --watch",
151
- "bundle:watch": "./scripts/run_bundler.mjs src/index.ts --production-mode -o dist/rx-player.js --watch",
148
+ "bundle": "./scripts/run_bundler.mjs src/index.ts --production-mode --globals -o dist/rx-player.js",
149
+ "bundle:min": "./scripts/run_bundler.mjs src/index.ts --production-mode --globals -o dist/rx-player.min.js --minify",
150
+ "bundle:min:watch": "./scripts/run_bundler.mjs src/index.ts --production-mode --globals -o dist/rx-player.min.js --minify --watch",
151
+ "bundle:watch": "./scripts/run_bundler.mjs src/index.ts --production-mode --globals -o dist/rx-player.js --watch",
152
152
  "certificate": "./scripts/generate_certificate",
153
153
  "check": "npm run check:types && npm run lint && npm run check:types:unit_tests",
154
154
  "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",