rx-player 4.3.0-dev.2025030400 → 4.3.0-dev.2025031700

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 (332) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/VERSION +1 -1
  3. package/dist/commonjs/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
  4. package/dist/commonjs/__GENERATED_CODE/embedded_worker.js +1 -1
  5. package/dist/commonjs/core/fetchers/index.d.ts +5 -2
  6. package/dist/commonjs/core/fetchers/index.d.ts.map +1 -1
  7. package/dist/commonjs/core/fetchers/index.js +6 -1
  8. package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts +4 -3
  9. package/dist/commonjs/core/fetchers/segment/segment_queue_creator.d.ts.map +1 -1
  10. package/dist/commonjs/core/fetchers/segment/segment_queue_creator.js +3 -4
  11. package/dist/commonjs/core/fetchers/thumbnails/index.d.ts +6 -0
  12. package/dist/commonjs/core/fetchers/thumbnails/index.d.ts.map +1 -0
  13. package/dist/commonjs/core/fetchers/thumbnails/index.js +6 -0
  14. package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +87 -0
  15. package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +1 -0
  16. package/dist/commonjs/core/fetchers/thumbnails/thumbnail_fetcher.js +176 -0
  17. package/dist/commonjs/core/main/common/get_thumbnail_data.d.ts +13 -0
  18. package/dist/commonjs/core/main/common/get_thumbnail_data.d.ts.map +1 -0
  19. package/dist/commonjs/core/main/common/get_thumbnail_data.js +72 -0
  20. package/dist/commonjs/core/main/worker/content_preparer.d.ts +3 -0
  21. package/dist/commonjs/core/main/worker/content_preparer.d.ts.map +1 -1
  22. package/dist/commonjs/core/main/worker/content_preparer.js +6 -1
  23. package/dist/commonjs/core/main/worker/worker_main.d.ts.map +1 -1
  24. package/dist/commonjs/core/main/worker/worker_main.js +45 -3
  25. package/dist/commonjs/default_config.d.ts +22 -0
  26. package/dist/commonjs/default_config.d.ts.map +1 -1
  27. package/dist/commonjs/default_config.js +27 -1
  28. package/dist/commonjs/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +1 -1
  29. package/dist/commonjs/index.js +1 -1
  30. package/dist/commonjs/main_thread/api/public_api.d.ts +136 -7
  31. package/dist/commonjs/main_thread/api/public_api.d.ts.map +1 -1
  32. package/dist/commonjs/main_thread/api/public_api.js +95 -14
  33. package/dist/commonjs/main_thread/init/directfile_content_initializer.d.ts.map +1 -1
  34. package/dist/commonjs/main_thread/init/directfile_content_initializer.js +3 -0
  35. package/dist/commonjs/main_thread/init/media_source_content_initializer.d.ts.map +1 -1
  36. package/dist/commonjs/main_thread/init/media_source_content_initializer.js +14 -3
  37. package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts +1 -6
  38. package/dist/commonjs/main_thread/init/multi_thread_content_initializer.d.ts.map +1 -1
  39. package/dist/commonjs/main_thread/init/multi_thread_content_initializer.js +73 -15
  40. package/dist/commonjs/main_thread/init/types.d.ts +8 -0
  41. package/dist/commonjs/main_thread/init/types.d.ts.map +1 -1
  42. package/dist/commonjs/main_thread/render_thumbnail.d.ts +27 -0
  43. package/dist/commonjs/main_thread/render_thumbnail.d.ts.map +1 -0
  44. package/dist/commonjs/main_thread/render_thumbnail.js +255 -0
  45. package/dist/commonjs/manifest/classes/index.d.ts +2 -1
  46. package/dist/commonjs/manifest/classes/index.d.ts.map +1 -1
  47. package/dist/commonjs/manifest/classes/period.d.ts +56 -1
  48. package/dist/commonjs/manifest/classes/period.d.ts.map +1 -1
  49. package/dist/commonjs/manifest/classes/period.js +24 -0
  50. package/dist/commonjs/manifest/classes/representation_index/static.d.ts +15 -0
  51. package/dist/commonjs/manifest/classes/representation_index/static.d.ts.map +1 -1
  52. package/dist/commonjs/manifest/classes/representation_index/static.js +17 -0
  53. package/dist/commonjs/manifest/classes/representation_index/types.d.ts +20 -0
  54. package/dist/commonjs/manifest/classes/representation_index/types.d.ts.map +1 -1
  55. package/dist/commonjs/manifest/classes/update_period_in_place.d.ts +9 -0
  56. package/dist/commonjs/manifest/classes/update_period_in_place.d.ts.map +1 -1
  57. package/dist/commonjs/manifest/classes/update_period_in_place.js +85 -15
  58. package/dist/commonjs/manifest/index.d.ts +2 -2
  59. package/dist/commonjs/manifest/index.d.ts.map +1 -1
  60. package/dist/commonjs/manifest/types.d.ts +54 -0
  61. package/dist/commonjs/manifest/types.d.ts.map +1 -1
  62. package/dist/commonjs/manifest/utils.d.ts.map +1 -1
  63. package/dist/commonjs/manifest/utils.js +120 -56
  64. package/dist/commonjs/minimal.js +1 -1
  65. package/dist/commonjs/multithread_types.d.ts +33 -7
  66. package/dist/commonjs/multithread_types.d.ts.map +1 -1
  67. package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -1
  68. package/dist/commonjs/parsers/manifest/dash/common/get_hdr_information.js +17 -0
  69. package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts +15 -0
  70. package/dist/commonjs/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -1
  71. package/dist/commonjs/parsers/manifest/dash/common/indexes/base.js +22 -0
  72. package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts +15 -0
  73. package/dist/commonjs/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -1
  74. package/dist/commonjs/parsers/manifest/dash/common/indexes/list.js +18 -0
  75. package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts +10 -0
  76. package/dist/commonjs/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -1
  77. package/dist/commonjs/parsers/manifest/dash/common/indexes/template.js +12 -0
  78. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +15 -0
  79. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +1 -1
  80. package/dist/commonjs/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +26 -0
  81. package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts +15 -10
  82. package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -1
  83. package/dist/commonjs/parsers/manifest/dash/common/infer_adaptation_type.js +56 -4
  84. package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +5 -2
  85. package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +1 -1
  86. package/dist/commonjs/parsers/manifest/dash/common/parse_adaptation_sets.js +71 -4
  87. package/dist/commonjs/parsers/manifest/dash/common/parse_periods.d.ts.map +1 -1
  88. package/dist/commonjs/parsers/manifest/dash/common/parse_periods.js +3 -2
  89. package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts +1 -0
  90. package/dist/commonjs/parsers/manifest/dash/common/parse_representations.d.ts.map +1 -1
  91. package/dist/commonjs/parsers/manifest/dash/common/parse_representations.js +18 -0
  92. package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts.map +1 -1
  93. package/dist/commonjs/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.js +8 -0
  94. package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts.map +1 -1
  95. package/dist/commonjs/parsers/manifest/dash/native-parser/node_parsers/Representation.js +8 -0
  96. package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts +1 -0
  97. package/dist/commonjs/parsers/manifest/dash/node_parser_types.d.ts.map +1 -1
  98. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +1 -1
  99. package/dist/commonjs/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +10 -0
  100. package/dist/commonjs/parsers/manifest/local/parse_local_manifest.js +1 -0
  101. package/dist/commonjs/parsers/manifest/local/representation_index.d.ts +15 -0
  102. package/dist/commonjs/parsers/manifest/local/representation_index.d.ts.map +1 -1
  103. package/dist/commonjs/parsers/manifest/local/representation_index.js +20 -0
  104. package/dist/commonjs/parsers/manifest/metaplaylist/metaplaylist_parser.js +1 -0
  105. package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts +10 -0
  106. package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -1
  107. package/dist/commonjs/parsers/manifest/metaplaylist/representation_index.js +9 -0
  108. package/dist/commonjs/parsers/manifest/smooth/create_parser.d.ts.map +1 -1
  109. package/dist/commonjs/parsers/manifest/smooth/create_parser.js +1 -0
  110. package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts +15 -0
  111. package/dist/commonjs/parsers/manifest/smooth/representation_index.d.ts.map +1 -1
  112. package/dist/commonjs/parsers/manifest/smooth/representation_index.js +23 -0
  113. package/dist/commonjs/parsers/manifest/types.d.ts +61 -0
  114. package/dist/commonjs/parsers/manifest/types.d.ts.map +1 -1
  115. package/dist/commonjs/public_types.d.ts +60 -0
  116. package/dist/commonjs/public_types.d.ts.map +1 -1
  117. package/dist/commonjs/transports/dash/pipelines.d.ts.map +1 -1
  118. package/dist/commonjs/transports/dash/pipelines.js +5 -0
  119. package/dist/commonjs/transports/dash/thumbnails.d.ts +21 -0
  120. package/dist/commonjs/transports/dash/thumbnails.d.ts.map +1 -0
  121. package/dist/commonjs/transports/dash/thumbnails.js +127 -0
  122. package/dist/commonjs/transports/local/pipelines.d.ts.map +1 -1
  123. package/dist/commonjs/transports/local/pipelines.js +8 -0
  124. package/dist/commonjs/transports/metaplaylist/pipelines.d.ts.map +1 -1
  125. package/dist/commonjs/transports/metaplaylist/pipelines.js +8 -0
  126. package/dist/commonjs/transports/smooth/pipelines.d.ts.map +1 -1
  127. package/dist/commonjs/transports/smooth/pipelines.js +8 -0
  128. package/dist/commonjs/transports/types.d.ts +29 -0
  129. package/dist/commonjs/transports/types.d.ts.map +1 -1
  130. package/dist/commonjs/utils/are_codecs_compatible.js +1 -1
  131. package/dist/es2017/__GENERATED_CODE/embedded_worker.d.ts.map +1 -1
  132. package/dist/es2017/__GENERATED_CODE/embedded_worker.js +1 -1
  133. package/dist/es2017/core/fetchers/index.d.ts +5 -2
  134. package/dist/es2017/core/fetchers/index.d.ts.map +1 -1
  135. package/dist/es2017/core/fetchers/index.js +3 -1
  136. package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts +4 -3
  137. package/dist/es2017/core/fetchers/segment/segment_queue_creator.d.ts.map +1 -1
  138. package/dist/es2017/core/fetchers/segment/segment_queue_creator.js +3 -4
  139. package/dist/es2017/core/fetchers/thumbnails/index.d.ts +6 -0
  140. package/dist/es2017/core/fetchers/thumbnails/index.d.ts.map +1 -0
  141. package/dist/es2017/core/fetchers/thumbnails/index.js +3 -0
  142. package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts +87 -0
  143. package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.d.ts.map +1 -0
  144. package/dist/es2017/core/fetchers/thumbnails/thumbnail_fetcher.js +123 -0
  145. package/dist/es2017/core/main/common/get_thumbnail_data.d.ts +13 -0
  146. package/dist/es2017/core/main/common/get_thumbnail_data.d.ts.map +1 -0
  147. package/dist/es2017/core/main/common/get_thumbnail_data.js +28 -0
  148. package/dist/es2017/core/main/worker/content_preparer.d.ts +3 -0
  149. package/dist/es2017/core/main/worker/content_preparer.d.ts.map +1 -1
  150. package/dist/es2017/core/main/worker/content_preparer.js +6 -1
  151. package/dist/es2017/core/main/worker/worker_main.d.ts.map +1 -1
  152. package/dist/es2017/core/main/worker/worker_main.js +45 -3
  153. package/dist/es2017/default_config.d.ts +22 -0
  154. package/dist/es2017/default_config.d.ts.map +1 -1
  155. package/dist/es2017/default_config.js +27 -1
  156. package/dist/es2017/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.js +1 -1
  157. package/dist/es2017/index.js +1 -1
  158. package/dist/es2017/main_thread/api/public_api.d.ts +136 -7
  159. package/dist/es2017/main_thread/api/public_api.d.ts.map +1 -1
  160. package/dist/es2017/main_thread/api/public_api.js +90 -13
  161. package/dist/es2017/main_thread/init/directfile_content_initializer.d.ts.map +1 -1
  162. package/dist/es2017/main_thread/init/directfile_content_initializer.js +1 -0
  163. package/dist/es2017/main_thread/init/media_source_content_initializer.d.ts.map +1 -1
  164. package/dist/es2017/main_thread/init/media_source_content_initializer.js +11 -3
  165. package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts +1 -6
  166. package/dist/es2017/main_thread/init/multi_thread_content_initializer.d.ts.map +1 -1
  167. package/dist/es2017/main_thread/init/multi_thread_content_initializer.js +68 -14
  168. package/dist/es2017/main_thread/init/types.d.ts +8 -0
  169. package/dist/es2017/main_thread/init/types.d.ts.map +1 -1
  170. package/dist/es2017/main_thread/render_thumbnail.d.ts +27 -0
  171. package/dist/es2017/main_thread/render_thumbnail.d.ts.map +1 -0
  172. package/dist/es2017/main_thread/render_thumbnail.js +187 -0
  173. package/dist/es2017/manifest/classes/index.d.ts +2 -1
  174. package/dist/es2017/manifest/classes/index.d.ts.map +1 -1
  175. package/dist/es2017/manifest/classes/period.d.ts +56 -1
  176. package/dist/es2017/manifest/classes/period.d.ts.map +1 -1
  177. package/dist/es2017/manifest/classes/period.js +24 -0
  178. package/dist/es2017/manifest/classes/representation_index/static.d.ts +15 -0
  179. package/dist/es2017/manifest/classes/representation_index/static.d.ts.map +1 -1
  180. package/dist/es2017/manifest/classes/representation_index/static.js +17 -0
  181. package/dist/es2017/manifest/classes/representation_index/types.d.ts +20 -0
  182. package/dist/es2017/manifest/classes/representation_index/types.d.ts.map +1 -1
  183. package/dist/es2017/manifest/classes/update_period_in_place.d.ts +9 -0
  184. package/dist/es2017/manifest/classes/update_period_in_place.d.ts.map +1 -1
  185. package/dist/es2017/manifest/classes/update_period_in_place.js +64 -0
  186. package/dist/es2017/manifest/index.d.ts +2 -2
  187. package/dist/es2017/manifest/index.d.ts.map +1 -1
  188. package/dist/es2017/manifest/types.d.ts +54 -0
  189. package/dist/es2017/manifest/types.d.ts.map +1 -1
  190. package/dist/es2017/manifest/utils.d.ts.map +1 -1
  191. package/dist/es2017/manifest/utils.js +24 -0
  192. package/dist/es2017/minimal.js +1 -1
  193. package/dist/es2017/multithread_types.d.ts +33 -7
  194. package/dist/es2017/multithread_types.d.ts.map +1 -1
  195. package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.d.ts.map +1 -1
  196. package/dist/es2017/parsers/manifest/dash/common/get_hdr_information.js +17 -0
  197. package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts +15 -0
  198. package/dist/es2017/parsers/manifest/dash/common/indexes/base.d.ts.map +1 -1
  199. package/dist/es2017/parsers/manifest/dash/common/indexes/base.js +22 -0
  200. package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts +15 -0
  201. package/dist/es2017/parsers/manifest/dash/common/indexes/list.d.ts.map +1 -1
  202. package/dist/es2017/parsers/manifest/dash/common/indexes/list.js +18 -0
  203. package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts +10 -0
  204. package/dist/es2017/parsers/manifest/dash/common/indexes/template.d.ts.map +1 -1
  205. package/dist/es2017/parsers/manifest/dash/common/indexes/template.js +12 -0
  206. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts +15 -0
  207. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.d.ts.map +1 -1
  208. package/dist/es2017/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.js +26 -0
  209. package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts +15 -10
  210. package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.d.ts.map +1 -1
  211. package/dist/es2017/parsers/manifest/dash/common/infer_adaptation_type.js +51 -4
  212. package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts +5 -2
  213. package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.d.ts.map +1 -1
  214. package/dist/es2017/parsers/manifest/dash/common/parse_adaptation_sets.js +72 -5
  215. package/dist/es2017/parsers/manifest/dash/common/parse_periods.d.ts.map +1 -1
  216. package/dist/es2017/parsers/manifest/dash/common/parse_periods.js +2 -1
  217. package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts +1 -0
  218. package/dist/es2017/parsers/manifest/dash/common/parse_representations.d.ts.map +1 -1
  219. package/dist/es2017/parsers/manifest/dash/common/parse_representations.js +18 -0
  220. package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.d.ts.map +1 -1
  221. package/dist/es2017/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.js +8 -0
  222. package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Representation.d.ts.map +1 -1
  223. package/dist/es2017/parsers/manifest/dash/native-parser/node_parsers/Representation.js +8 -0
  224. package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts +1 -0
  225. package/dist/es2017/parsers/manifest/dash/node_parser_types.d.ts.map +1 -1
  226. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.d.ts.map +1 -1
  227. package/dist/es2017/parsers/manifest/dash/wasm-parser/ts/generators/Representation.js +10 -0
  228. package/dist/es2017/parsers/manifest/local/parse_local_manifest.js +1 -0
  229. package/dist/es2017/parsers/manifest/local/representation_index.d.ts +15 -0
  230. package/dist/es2017/parsers/manifest/local/representation_index.d.ts.map +1 -1
  231. package/dist/es2017/parsers/manifest/local/representation_index.js +20 -0
  232. package/dist/es2017/parsers/manifest/metaplaylist/metaplaylist_parser.js +1 -0
  233. package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts +10 -0
  234. package/dist/es2017/parsers/manifest/metaplaylist/representation_index.d.ts.map +1 -1
  235. package/dist/es2017/parsers/manifest/metaplaylist/representation_index.js +9 -0
  236. package/dist/es2017/parsers/manifest/smooth/create_parser.d.ts.map +1 -1
  237. package/dist/es2017/parsers/manifest/smooth/create_parser.js +1 -0
  238. package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts +15 -0
  239. package/dist/es2017/parsers/manifest/smooth/representation_index.d.ts.map +1 -1
  240. package/dist/es2017/parsers/manifest/smooth/representation_index.js +23 -0
  241. package/dist/es2017/parsers/manifest/types.d.ts +61 -0
  242. package/dist/es2017/parsers/manifest/types.d.ts.map +1 -1
  243. package/dist/es2017/public_types.d.ts +60 -0
  244. package/dist/es2017/public_types.d.ts.map +1 -1
  245. package/dist/es2017/transports/dash/pipelines.d.ts.map +1 -1
  246. package/dist/es2017/transports/dash/pipelines.js +5 -0
  247. package/dist/es2017/transports/dash/thumbnails.d.ts +21 -0
  248. package/dist/es2017/transports/dash/thumbnails.d.ts.map +1 -0
  249. package/dist/es2017/transports/dash/thumbnails.js +72 -0
  250. package/dist/es2017/transports/local/pipelines.d.ts.map +1 -1
  251. package/dist/es2017/transports/local/pipelines.js +6 -0
  252. package/dist/es2017/transports/metaplaylist/pipelines.d.ts.map +1 -1
  253. package/dist/es2017/transports/metaplaylist/pipelines.js +6 -0
  254. package/dist/es2017/transports/smooth/pipelines.d.ts.map +1 -1
  255. package/dist/es2017/transports/smooth/pipelines.js +6 -0
  256. package/dist/es2017/transports/types.d.ts +29 -0
  257. package/dist/es2017/transports/types.d.ts.map +1 -1
  258. package/dist/es2017/utils/are_codecs_compatible.js +1 -1
  259. package/dist/rx-player.js +936 -154
  260. package/dist/rx-player.min.js +18 -18
  261. package/dist/worker.js +8 -8
  262. package/package.json +24 -20
  263. package/src/__GENERATED_CODE/embedded_worker.ts +1 -1
  264. package/src/core/fetchers/index.ts +11 -1
  265. package/src/core/fetchers/segment/segment_queue_creator.ts +4 -6
  266. package/src/core/fetchers/thumbnails/index.ts +8 -0
  267. package/src/core/fetchers/thumbnails/thumbnail_fetcher.ts +233 -0
  268. package/src/core/main/common/get_thumbnail_data.ts +43 -0
  269. package/src/core/main/worker/content_preparer.ts +12 -1
  270. package/src/core/main/worker/worker_main.ts +67 -3
  271. package/src/default_config.ts +30 -1
  272. package/src/experimental/tools/mediaCapabilitiesProber/__tests__/probers/defaultCodecFinder.test.ts +1 -1
  273. package/src/experimental/tools/mediaCapabilitiesProber/probers/defaultCodecsFinder.ts +1 -1
  274. package/src/index.ts +1 -1
  275. package/src/main_thread/api/public_api.ts +142 -21
  276. package/src/main_thread/decrypt/__tests__/__global__/utils.ts +8 -4
  277. package/src/main_thread/decrypt/__tests__/find_key_system.test.ts +5 -5
  278. package/src/main_thread/init/directfile_content_initializer.ts +4 -0
  279. package/src/main_thread/init/media_source_content_initializer.ts +35 -3
  280. package/src/main_thread/init/multi_thread_content_initializer.ts +100 -27
  281. package/src/main_thread/init/types.ts +12 -0
  282. package/src/main_thread/init/utils/__tests__/update_manifest_codec_support.test.ts +283 -0
  283. package/src/main_thread/render_thumbnail.ts +255 -0
  284. package/src/manifest/classes/__tests__/adaptation.test.ts +3 -0
  285. package/src/manifest/classes/__tests__/manifest.test.ts +21 -8
  286. package/src/manifest/classes/__tests__/period.test.ts +50 -12
  287. package/src/manifest/classes/__tests__/representation.test.ts +3 -0
  288. package/src/manifest/classes/__tests__/update_period_in_place.test.ts +388 -0
  289. package/src/manifest/classes/__tests__/update_periods.test.ts +12 -10
  290. package/src/manifest/classes/index.ts +2 -0
  291. package/src/manifest/classes/period.ts +86 -1
  292. package/src/manifest/classes/representation_index/static.ts +18 -0
  293. package/src/manifest/classes/representation_index/types.ts +23 -0
  294. package/src/manifest/classes/update_period_in_place.ts +84 -0
  295. package/src/manifest/index.ts +2 -0
  296. package/src/manifest/types.ts +56 -0
  297. package/src/manifest/utils.ts +36 -0
  298. package/src/minimal.ts +1 -1
  299. package/src/multithread_types.ts +37 -5
  300. package/src/parsers/manifest/dash/common/__tests__/flatten_overlapping_period.test.ts +16 -13
  301. package/src/parsers/manifest/dash/common/get_hdr_information.ts +17 -0
  302. package/src/parsers/manifest/dash/common/indexes/base.ts +23 -0
  303. package/src/parsers/manifest/dash/common/indexes/list.ts +19 -0
  304. package/src/parsers/manifest/dash/common/indexes/template.ts +16 -0
  305. package/src/parsers/manifest/dash/common/indexes/timeline/timeline_representation_index.ts +27 -0
  306. package/src/parsers/manifest/dash/common/infer_adaptation_type.ts +75 -8
  307. package/src/parsers/manifest/dash/common/parse_adaptation_sets.ts +95 -12
  308. package/src/parsers/manifest/dash/common/parse_periods.ts +5 -1
  309. package/src/parsers/manifest/dash/common/parse_representations.ts +18 -0
  310. package/src/parsers/manifest/dash/fast-js-parser/node_parsers/Representation.ts +7 -0
  311. package/src/parsers/manifest/dash/native-parser/node_parsers/Representation.ts +7 -0
  312. package/src/parsers/manifest/dash/node_parser_types.ts +1 -0
  313. package/src/parsers/manifest/dash/wasm-parser/ts/generators/Representation.ts +11 -0
  314. package/src/parsers/manifest/local/parse_local_manifest.ts +1 -0
  315. package/src/parsers/manifest/local/representation_index.ts +21 -0
  316. package/src/parsers/manifest/metaplaylist/metaplaylist_parser.ts +1 -0
  317. package/src/parsers/manifest/metaplaylist/representation_index.ts +10 -0
  318. package/src/parsers/manifest/smooth/create_parser.ts +1 -0
  319. package/src/parsers/manifest/smooth/representation_index.ts +24 -0
  320. package/src/parsers/manifest/types.ts +62 -0
  321. package/src/parsers/manifest/utils/__tests__/get_first_time_from_adaptations.test.ts +3 -0
  322. package/src/parsers/manifest/utils/__tests__/get_last_time_from_adaptation.test.ts +3 -0
  323. package/src/public_types.ts +62 -0
  324. package/src/transports/dash/pipelines.ts +5 -0
  325. package/src/transports/dash/thumbnails.ts +97 -0
  326. package/src/transports/local/pipelines.ts +9 -0
  327. package/src/transports/metaplaylist/pipelines.ts +9 -0
  328. package/src/transports/smooth/pipelines.ts +7 -0
  329. package/src/transports/types.ts +43 -0
  330. package/src/utils/__tests__/are_codecs_compatible.test.ts +21 -1
  331. package/src/utils/are_codecs_compatible.ts +1 -1
  332. package/vitest.config.mjs +18 -0
package/CHANGELOG.md CHANGED
@@ -1,14 +1,16 @@
1
1
  # Changelog
2
2
 
3
- ## Current dev build: v4.3.0-dev.2025030400
3
+ ## Current dev build: v4.3.0-dev.2025031700
4
4
 
5
5
  ### Features
6
6
 
7
7
  - Add the possibility to rely on `ManagedMediaSource` on iOS devices [#1562]
8
+ - DASH: Implement DASH Thumbnail tracks by adding `renderThumbnail` and
9
+ `getAvailableThumbnailTracks` API [#1496]
8
10
  - DRM: Add `keySystems[].wantedSessionTypes` `loadVideo` option to also initialize a DRM
9
11
  config for future contents, not just the current one [#1604]
10
12
  - Add `experimentalOptions.enableRepresentationAvoidance` option to `loadVideo` to enable
11
- the new Representation avoidance mechanism [#1523]
13
+ our new Representation avoidance mechanism [#1523]
12
14
 
13
15
  ### Bug fixes
14
16
 
@@ -17,6 +19,7 @@
17
19
  - Compat: On "FREEZING" try to un-freeze regardless of if the wanted position was reached
18
20
  to fix a remaining Tizen (Samsung) infinite rebuffering issue [#1586]
19
21
  - MULTI_THREAD: Fix error not being thrown on manifest update [#1653]
22
+ - DRM: check that ec-3 codec is supported when encrypted [#1657]
20
23
  - DRM: fix typo which prevented `MediaKeys` reusage on some devices including desktop
21
24
  browsers [#1615]
22
25
  - DRM: Only ask for `"persistent-license"` `MediaKeySession` (and not also for
@@ -43,8 +46,10 @@
43
46
  - DRM: Reuse cache even if key system type given in API is not the same [#1611]
44
47
  - DEBUG_ELEMENT: Add buffer size estimate to debug buffer content graph [#1558]
45
48
  - DEBUG_ELEMENT: Add `hdr` information to video Representation [#1583]
49
+ - Set LogFormat to `full` on RxPlayer's debug mode [#1625]
46
50
  - tests: Our performance-regression tests now run on all RxPlayer updates to better
47
51
  protect against performance regressions [#1630]
52
+ - CI/tests: CI integration tests on Edge and windows [#1621]
48
53
 
49
54
  ## v4.2.0 (2024-10-17)
50
55
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 4.3.0-dev.2025030400
1
+ 4.3.0-dev.2025031700
@@ -1 +1 @@
1
- {"version":3,"file":"embedded_worker.d.ts","sourceRoot":"","sources":["../../../src/__GENERATED_CODE/embedded_worker.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,MAA8r4T,CAAC;AACzs4T,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,CAAC;AACnC,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"embedded_worker.d.ts","sourceRoot":"","sources":["../../../src/__GENERATED_CODE/embedded_worker.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI,MAA+9nU,CAAC;AAC1+nU,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,CAAC;AACnC,eAAe,IAAI,CAAC"}