shaka-player 4.6.15 → 4.6.16
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/.github/workflows/appspot.yaml +4 -4
- package/.github/workflows/build-and-test.yaml +6 -6
- package/.github/workflows/custom-actions/set-commit-status/action.yaml +29 -7
- package/.github/workflows/demo-version-index.yaml +3 -3
- package/.github/workflows/nightly-demo.yaml +4 -4
- package/.github/workflows/release-please.yaml +24 -23
- package/.github/workflows/report-incremental-coverage.yaml +1 -1
- package/.github/workflows/selenium-lab-tests.yaml +30 -18
- package/.github/workflows/sync-labels.yaml +1 -1
- package/.github/workflows/talk-to-shaka-bot.yaml +1 -1
- package/.github/workflows/update-issues.yaml +1 -1
- package/.github/workflows/update-screenshots.yaml +25 -38
- package/CHANGELOG.md +37 -0
- package/README.md +2 -4
- package/demo/demo.less +1 -5
- package/dist/demo.css +1 -1
- package/dist/demo.css.map +1 -1
- package/dist/deps.js +3 -4
- package/dist/locales.js +33 -33
- package/dist/shaka-player.compiled.d.ts +12 -10
- package/dist/shaka-player.compiled.debug.d.ts +12 -10
- package/dist/shaka-player.compiled.debug.externs.js +78 -64
- package/dist/shaka-player.compiled.debug.js +158 -152
- package/dist/shaka-player.compiled.debug.map +4 -4
- package/dist/shaka-player.compiled.externs.js +78 -64
- package/dist/shaka-player.compiled.js +1099 -1093
- package/dist/shaka-player.compiled.map +4 -4
- package/dist/shaka-player.ui.d.ts +12 -10
- package/dist/shaka-player.ui.debug.d.ts +12 -10
- package/dist/shaka-player.ui.debug.externs.js +78 -64
- package/dist/shaka-player.ui.debug.js +169 -162
- package/dist/shaka-player.ui.debug.map +4 -4
- package/dist/shaka-player.ui.externs.js +78 -64
- package/dist/shaka-player.ui.js +1259 -1253
- package/dist/shaka-player.ui.map +4 -4
- package/docs/tutorials/faq.md +12 -0
- package/externs/shaka/player.js +32 -19
- package/karma.conf.js +4 -0
- package/lib/abr/simple_abr_manager.js +21 -26
- package/lib/cast/cast_proxy.js +1 -3
- package/lib/cast/cast_sender.js +8 -11
- package/lib/cea/cea608_memory.js +1 -1
- package/lib/cea/ts_cea_parser.js +10 -1
- package/lib/dash/dash_parser.js +3 -0
- package/lib/hls/hls_parser.js +18 -16
- package/lib/media/drm_engine.js +6 -3
- package/lib/media/media_source_engine.js +19 -1
- package/lib/media/presentation_timeline.js +23 -0
- package/lib/media/segment_utils.js +10 -1
- package/lib/player.js +15 -2
- package/lib/polyfill/media_capabilities.js +20 -1
- package/lib/polyfill/mediasource.js +37 -14
- package/lib/text/vtt_text_parser.js +51 -51
- package/lib/transmuxer/h264.js +3 -3
- package/lib/transmuxer/h265.js +3 -3
- package/lib/transmuxer/ts_transmuxer.js +42 -3
- package/lib/util/manifest_parser_utils.js +1 -0
- package/lib/util/mp4_parser.js +57 -0
- package/lib/util/platform.js +4 -0
- package/lib/util/ts_parser.js +99 -10
- package/package.json +1 -1
- package/test/cast/cast_proxy_unit.js +0 -46
- package/test/cast/cast_sender_unit.js +26 -26
- package/test/cea/cea608_memory_unit.js +3 -2
- package/test/hls/hls_live_unit.js +52 -0
- package/test/hls/hls_parser_integration.js +86 -0
- package/test/media/drm_engine_unit.js +16 -0
- package/test/media/media_source_engine_integration.js +1 -1
- package/test/player_integration.js +13 -0
- package/test/player_unit.js +13 -1
- package/test/test/assets/6339/a.mp4 +0 -0
- package/test/test/assets/6339/master.mpd +37 -0
- package/test/test/assets/6339/v.mp4 +0 -0
- package/test/test/assets/hls-text-offset/index.m3u8 +8 -0
- package/test/test/assets/hls-text-offset/playlist-video.m3u8 +22 -0
- package/test/test/assets/hls-text-offset/playlist-vtt.m3u8 +22 -0
- package/test/test/assets/hls-text-offset/video-0000000069.ts +0 -0
- package/test/test/assets/hls-text-offset/video-0000000070.ts +0 -0
- package/test/test/assets/hls-text-offset/video-0000000071.ts +0 -0
- package/test/test/assets/hls-text-offset/video-0000000072.ts +0 -0
- package/test/test/assets/hls-text-offset/video-0000000073.ts +0 -0
- package/test/test/assets/hls-text-offset/video-069.ts +0 -0
- package/test/test/assets/hls-text-offset/video-070.ts +0 -0
- package/test/test/assets/hls-text-offset/video-071.ts +0 -0
- package/test/test/assets/hls-text-offset/video-072.ts +0 -0
- package/test/test/assets/hls-text-offset/video-073.ts +0 -0
- package/test/test/assets/hls-text-offset/vtt-069.vtt +5 -0
- package/test/test/assets/hls-text-offset/vtt-070.vtt +5 -0
- package/test/test/assets/hls-text-offset/vtt-071.vtt +2 -0
- package/test/test/assets/hls-text-offset/vtt-072.vtt +2 -0
- package/test/test/assets/hls-text-offset/vtt-073.vtt +5 -0
- package/test/test/assets/hls-ts-raw-aac/fileSequence0.ts +0 -0
- package/test/test/assets/hls-ts-raw-aac/fileSequence1.ts +0 -0
- package/test/test/assets/hls-ts-raw-aac/fileSequence2.ts +0 -0
- package/test/test/assets/hls-ts-raw-aac/fileSequence3.ts +0 -0
- package/test/test/assets/hls-ts-raw-aac/index.m3u8 +4 -0
- package/test/test/assets/hls-ts-raw-aac/playlist.m3u8 +14 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000024.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000025.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000026.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000027.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000028.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000029.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000030.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000031.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000032.ts +0 -0
- package/test/test/assets/hls-ts-rollover/360p30_h264_48k_160_aac_ts-0000000033.ts +0 -0
- package/test/test/assets/hls-ts-rollover/playlist.m3u8 +39 -0
- package/test/test/externs/jasmine.js +2 -1
- package/test/text/vtt_text_parser_unit.js +12 -59
- package/test/transmuxer/transmuxer_integration.js +38 -0
- package/lib/polyfill/storage_estimate.js +0 -57
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.6.16](https://github.com/shaka-project/shaka-player/compare/v4.6.15...v4.6.16) (2024-04-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Add LOAS-AAC detection in TS ([#6390](https://github.com/shaka-project/shaka-player/issues/6390)) ([c347e8d](https://github.com/shaka-project/shaka-player/commit/c347e8d8ed4dfe036d5f3eb1bab840f89bccb1a7))
|
|
9
|
+
* Add ManagedMediaSource support in MediaSource polyfill ([#6361](https://github.com/shaka-project/shaka-player/issues/6361)) ([938776c](https://github.com/shaka-project/shaka-player/commit/938776cac0697bbcfe7d8246ab4a490e6a90b0aa))
|
|
10
|
+
* Add Opus and AV1 detection in TS ([#6385](https://github.com/shaka-project/shaka-player/issues/6385)) ([9be9183](https://github.com/shaka-project/shaka-player/commit/9be91836366162b1ce7c0f94e992f57357b4feb4))
|
|
11
|
+
* **Cast:** Don't pause local video until the cast connection is established ([#6359](https://github.com/shaka-project/shaka-player/issues/6359)) ([e74d90a](https://github.com/shaka-project/shaka-player/commit/e74d90af669dd9366c57d5747cfc9c56fef160ba))
|
|
12
|
+
* **DASH:** Set delay to 0 for LL streams ([#6406](https://github.com/shaka-project/shaka-player/issues/6406)) ([0a9f97f](https://github.com/shaka-project/shaka-player/commit/0a9f97f6f2126c30adc33da631017a73d2a20454))
|
|
13
|
+
* **demo:** Remove max height of demo config tabs ([#6324](https://github.com/shaka-project/shaka-player/issues/6324)) ([a7b7436](https://github.com/shaka-project/shaka-player/commit/a7b743672556b552c5063f2e04d3e24a599d9298))
|
|
14
|
+
* Disable smooth codec switching in Edge Windows ([#6384](https://github.com/shaka-project/shaka-player/issues/6384)) ([012ec5c](https://github.com/shaka-project/shaka-player/commit/012ec5ccb74b27a52cd6c2bff8eff2ffc69ef2ec))
|
|
15
|
+
* Fix cea608 whitespace rendering ([#6329](https://github.com/shaka-project/shaka-player/issues/6329)) ([7a7a36b](https://github.com/shaka-project/shaka-player/commit/7a7a36bcae8a243752f99004dc49640225c0f48b)), closes [#6328](https://github.com/shaka-project/shaka-player/issues/6328)
|
|
16
|
+
* Fix ENCA box parsing ([#6298](https://github.com/shaka-project/shaka-player/issues/6298)) ([1a62c24](https://github.com/shaka-project/shaka-player/commit/1a62c24faaf978c4c97d764e0dc4a7f915d66944))
|
|
17
|
+
* Fix PES rollover in TS ([#6363](https://github.com/shaka-project/shaka-player/issues/6363)) ([6683811](https://github.com/shaka-project/shaka-player/commit/668381131d13a56ff8c06777f11e42597eda3f67))
|
|
18
|
+
* Fix playback stuck on initial gap ([#6340](https://github.com/shaka-project/shaka-player/issues/6340)) ([a621642](https://github.com/shaka-project/shaka-player/commit/a621642143c1dfbbcea2d7af129653fe849765fe)), closes [#6339](https://github.com/shaka-project/shaka-player/issues/6339)
|
|
19
|
+
* Fix SAR when transmuxing ([#6309](https://github.com/shaka-project/shaka-player/issues/6309)) ([83b7027](https://github.com/shaka-project/shaka-player/commit/83b70276eff7ad436e661f550965434f48f3e5b6))
|
|
20
|
+
* Fix waiting for empty init datas ([#6292](https://github.com/shaka-project/shaka-player/issues/6292)) ([e75505a](https://github.com/shaka-project/shaka-player/commit/e75505aa44b4100503e4bf42be0a666bb446dcc9)), closes [#6228](https://github.com/shaka-project/shaka-player/issues/6228)
|
|
21
|
+
* **HLS:** Fix IAMF codec selection in HLS ([#6389](https://github.com/shaka-project/shaka-player/issues/6389)) ([4d5727d](https://github.com/shaka-project/shaka-player/commit/4d5727d2289ec329196568b952a1d27dc714f6ba))
|
|
22
|
+
* **HLS:** getPlayheadTimeAsDate() differs from X-EXT-PROGRAM-DATE-TIME ([#6371](https://github.com/shaka-project/shaka-player/issues/6371)) ([090016a](https://github.com/shaka-project/shaka-player/commit/090016af9e8a4048ee6e1fefc91d853b9a62ca0e))
|
|
23
|
+
* **HLS:** Only offset segment ref times when needed w/ EXT-X-MEDIA-SEQUENCE ([#6378](https://github.com/shaka-project/shaka-player/issues/6378)) ([d3696a4](https://github.com/shaka-project/shaka-player/commit/d3696a4084e01d2f89d1eda01b3a469f6facaba0))
|
|
24
|
+
* **HLS:** Reset textSequenceModeOffset on discontinuity ([#6388](https://github.com/shaka-project/shaka-player/issues/6388)) ([8cc2e24](https://github.com/shaka-project/shaka-player/commit/8cc2e24e260ea015185144874daef2c79cccf6c9))
|
|
25
|
+
* Reject TS content on all platforms and transmux always ([#6382](https://github.com/shaka-project/shaka-player/issues/6382)) ([74644d3](https://github.com/shaka-project/shaka-player/commit/74644d3ab5a7b9a8b27cba4252310bdc651a8b3f))
|
|
26
|
+
* **transmuxer:** Support raw AAC with TS extension ([#6360](https://github.com/shaka-project/shaka-player/issues/6360)) ([e5296c2](https://github.com/shaka-project/shaka-player/commit/e5296c27f07d0184dbfecfc7799a4bf1ea8f20e1))
|
|
27
|
+
* **WebVTT:** Remove rollover logic because we always transmux TS ([#6397](https://github.com/shaka-project/shaka-player/issues/6397)) ([6610c22](https://github.com/shaka-project/shaka-player/commit/6610c2283465430acd2fac8ecaf585e5d25e6969))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Performance Improvements
|
|
31
|
+
|
|
32
|
+
* **Cast:** memoize/cache canDisplayType results to reduce startup latency ([#6367](https://github.com/shaka-project/shaka-player/issues/6367)) ([f54433e](https://github.com/shaka-project/shaka-player/commit/f54433ed434953d52bc607b6e328a86365673683))
|
|
33
|
+
* **transmuxer:** Improve performance on video transmuxing ([#6364](https://github.com/shaka-project/shaka-player/issues/6364)) ([5143ef4](https://github.com/shaka-project/shaka-player/commit/5143ef4609a9c8d5568f3a0be245da1eaeae1c16))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Reverts
|
|
37
|
+
|
|
38
|
+
* getPlayheadTimeAsDate() differs from X-EXT-PROGRAM-DATE-TIME ([#6330](https://github.com/shaka-project/shaka-player/issues/6330)) ([fd0fb28](https://github.com/shaka-project/shaka-player/commit/fd0fb285d5da1fd3d653e41600a95c99c4cef0fe))
|
|
39
|
+
|
|
3
40
|
## [4.6.15](https://github.com/shaka-project/shaka-player/compare/v4.6.14...v4.6.15) (2024-02-26)
|
|
4
41
|
|
|
5
42
|
|
package/README.md
CHANGED
|
@@ -118,8 +118,6 @@ DASH features **not** supported:
|
|
|
118
118
|
|
|
119
119
|
## HLS features
|
|
120
120
|
|
|
121
|
-
**Only supported on browsers with SourceBuffer.mode=sequence support**
|
|
122
|
-
|
|
123
121
|
HLS features supported:
|
|
124
122
|
- VOD, Live, and Event types
|
|
125
123
|
- Low-latency streaming with partial segments, preload hints, delta updates and
|
|
@@ -176,8 +174,8 @@ MSS features **not** supported:
|
|
|
176
174
|
|Edge Chromium |**Y** |**Y** | - |**Y** |
|
|
177
175
|
|Safari | - | - |**Y** | - |
|
|
178
176
|
|Opera |untested⁵ | - | - |untested⁵ |
|
|
179
|
-
|Chromecast |**Y** |**Y** | - |
|
|
180
|
-
|Tizen TV |**Y** |**Y** | - |
|
|
177
|
+
|Chromecast |**Y** |**Y** | - |**Y** |
|
|
178
|
+
|Tizen TV |**Y** |**Y** | - |**Y** |
|
|
181
179
|
|WebOS⁷ |untested⁷ |untested⁷| - |untested⁷ |
|
|
182
180
|
|Hisense⁷ |untested⁷ |untested⁷| - |untested⁷ |
|
|
183
181
|
|Xbox One | - |**Y** | - | - |
|
package/demo/demo.less
CHANGED
|
@@ -568,16 +568,12 @@ footer .mdl-mega-footer__link-list {
|
|
|
568
568
|
text-align: left;
|
|
569
569
|
opacity: 0;
|
|
570
570
|
max-height: 0;
|
|
571
|
-
transition: 0.3s ease-in-out;
|
|
572
571
|
}
|
|
573
572
|
|
|
574
573
|
.input-container-style-accordion.show {
|
|
575
574
|
opacity: 1;
|
|
576
575
|
|
|
577
|
-
|
|
578
|
-
* animation is too fast to make out with the eye.
|
|
579
|
-
* So give it a fixed maximum instead. */
|
|
580
|
-
max-height: 1000px;
|
|
576
|
+
max-height: fit-content;
|
|
581
577
|
}
|
|
582
578
|
|
|
583
579
|
.input-header {
|