From 3dcff750e51709409f50f5d7d17355144089dad4 Mon Sep 17 00:00:00 2001 From: Shaka Bot <13107131+shaka-bot@users.noreply.github.com> Date: Wed, 4 Sep 2024 01:35:54 -0700 Subject: [PATCH] chore(main): release 4.11.0 (#6950) --- .release-please-manifest.json | 2 +- CHANGELOG.md | 155 ++++++++++++++++++++++++++++++++++ lib/player.js | 2 +- package-lock.json | 4 +- package.json | 2 +- 5 files changed, 160 insertions(+), 5 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7a2c6223d2..58acdf5b19 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.10.0" + ".": "4.11.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ec468142c..94d01a57c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,160 @@ # Changelog +## [4.11.0](https://github.com/shaka-project/shaka-player/compare/v4.10.0...v4.11.0) (2024-09-04) + + +### Features + +* **ABR:** Add preferNetworkInformationBandwidth config ([#7090](https://github.com/shaka-project/shaka-player/issues/7090)) ([6425b91](https://github.com/shaka-project/shaka-player/commit/6425b91320b3c8cc1ff858aa2f0b4052a3690f6c)) +* Add getFetchedPlaybackInfo method ([#7074](https://github.com/shaka-project/shaka-player/issues/7074)) ([ef02763](https://github.com/shaka-project/shaka-player/commit/ef02763b52a6b58f84176ee1283fcb8fecb6ab54)) +* Add public method for parsing cue payload ([#6992](https://github.com/shaka-project/shaka-player/issues/6992)) ([eeadace](https://github.com/shaka-project/shaka-player/commit/eeadace2beb03d57af35de2130e396e7d4356a7d)) +* Add video codec preference array at same resolution and bitrate ([#7204](https://github.com/shaka-project/shaka-player/issues/7204)) ([28523a3](https://github.com/shaka-project/shaka-player/commit/28523a356401d742496ec1e153d49ea4e6d61ddf)) +* Add width/height to getFetchedPlaybackInfo ([#7107](https://github.com/shaka-project/shaka-player/issues/7107)) ([e58ac70](https://github.com/shaka-project/shaka-player/commit/e58ac70e00c7c0b6467d65f22d9155c7911f4f3f)), closes [#6725](https://github.com/shaka-project/shaka-player/issues/6725) +* **Ads:** Add basic VAST support without IMA ([#7052](https://github.com/shaka-project/shaka-player/issues/7052)) ([c59922b](https://github.com/shaka-project/shaka-player/commit/c59922bae593b780dac2a0cdcba41691567b66a7)) +* **Ads:** Add basic VMAP support without IMA ([#7054](https://github.com/shaka-project/shaka-player/issues/7054)) ([a6f3999](https://github.com/shaka-project/shaka-player/commit/a6f39995c4b20db2e62ab74d83b8fda18e7a59e3)) +* **Ads:** Added advanced type to ad requests ([#7196](https://github.com/shaka-project/shaka-player/issues/7196)) ([f5b78dc](https://github.com/shaka-project/shaka-player/commit/f5b78dc88ab15fbc23a1133578d6db9597a76c55)) +* **Ads:** Allow the use of custom interstitials ads ([#6991](https://github.com/shaka-project/shaka-player/issues/6991)) ([9e1f4e7](https://github.com/shaka-project/shaka-player/commit/9e1f4e7b8c5240f0c189fe2a344360da5859ec0e)) +* Allow set the videoContainer in the Player constructor ([#6953](https://github.com/shaka-project/shaka-player/issues/6953)) ([a35028c](https://github.com/shaka-project/shaka-player/commit/a35028c3bc3179bf17f5e893bac10dfff6809890)) +* **CEA:** Support alignment in CEA-608 ([#7022](https://github.com/shaka-project/shaka-player/issues/7022)) ([11a2cc5](https://github.com/shaka-project/shaka-player/commit/11a2cc5db240d6bd3803d37cddf7e3d6e0724ee2)) +* **CMCD:** Implement new streaming format from CMCDv2 ([#7216](https://github.com/shaka-project/shaka-player/issues/7216)) ([8842648](https://github.com/shaka-project/shaka-player/commit/88426487a7efab97156c9b1d7f41b5ce1fb7b633)) +* **DASH:** Add DVB Font downloads ([#6971](https://github.com/shaka-project/shaka-player/issues/6971)) ([789101c](https://github.com/shaka-project/shaka-player/commit/789101cbbae63a85a49838ef0df85141df6e8f2a)) +* **DASH:** Add support for urn:mpeg:dash:ssr:2023 with SegmentTemplate $Number$ ([#6745](https://github.com/shaka-project/shaka-player/issues/6745)) ([3cb40bf](https://github.com/shaka-project/shaka-player/commit/3cb40bf516d3533dbcacaef3631c41f423eda7be)) +* **DASH:** MPD Alternate support ([#7055](https://github.com/shaka-project/shaka-player/issues/7055)) ([93f2d96](https://github.com/shaka-project/shaka-player/commit/93f2d96a4527ea35a62b749752bbca2e2d6c289c)) +* **DASH:** Support Annex I: Flexible Insertion of URL Parameters ([#7086](https://github.com/shaka-project/shaka-player/issues/7086)) ([a5adb39](https://github.com/shaka-project/shaka-player/commit/a5adb397139cd2f55cb238725aa18cb3891ef742)) +* **DASH:** Support DVB fonts with relative urls ([#6974](https://github.com/shaka-project/shaka-player/issues/6974)) ([5849e25](https://github.com/shaka-project/shaka-player/commit/5849e2579d32cd0ab76bb5215f22372ce15d2416)) +* **DASH:** Support trick-mode per resolution ([#7224](https://github.com/shaka-project/shaka-player/issues/7224)) ([cb5aae4](https://github.com/shaka-project/shaka-player/commit/cb5aae47c036a58c12aadb46954a52680e713a82)) +* Dispatch MediaSourceRecovered event ([#7198](https://github.com/shaka-project/shaka-player/issues/7198)) ([fd5b09c](https://github.com/shaka-project/shaka-player/commit/fd5b09c1bf425a280bb61262140b53da124aa32a)) +* Export addFont method ([#6975](https://github.com/shaka-project/shaka-player/issues/6975)) ([afc3e59](https://github.com/shaka-project/shaka-player/commit/afc3e59c61978b3a2fec19cbe8d52f895e462a28)) +* **HLS:** Add I-Frame playlist support ([#7230](https://github.com/shaka-project/shaka-player/issues/7230)) ([67859c9](https://github.com/shaka-project/shaka-player/commit/67859c987c90ebdd3982e00b7f1df718b0ea6898)) +* **HLS:** Add support for EXT-X-START ([#6938](https://github.com/shaka-project/shaka-player/issues/6938)) ([d63df14](https://github.com/shaka-project/shaka-player/commit/d63df145aacbf09f9a4c99c54e22a09c10432d9e)) +* **HLS:** Deprecate useSafariBehaviorForLive config ([#6978](https://github.com/shaka-project/shaka-player/issues/6978)) ([aaeafa4](https://github.com/shaka-project/shaka-player/commit/aaeafa451c98c0afc6bb5c7bdc7a54319b7402c5)) +* **net:** Add minimum bytes for progress events ([#7117](https://github.com/shaka-project/shaka-player/issues/7117)) ([d36ff65](https://github.com/shaka-project/shaka-player/commit/d36ff6553c174682d8d12b91a54669b6439ed768)) +* Parse TS frameRate ([#6998](https://github.com/shaka-project/shaka-player/issues/6998)) ([f4f9b05](https://github.com/shaka-project/shaka-player/commit/f4f9b05e63b55385a6f6e0b53f4d5f52e37fcb3c)) +* **preload:** Add isPreload to net filter context ([#7170](https://github.com/shaka-project/shaka-player/issues/7170)) ([5723a2b](https://github.com/shaka-project/shaka-player/commit/5723a2bbe46e0030e0e6a454afb7c5341544171f)) +* Render native cues using text displayer ([#6985](https://github.com/shaka-project/shaka-player/issues/6985)) ([6c0c63d](https://github.com/shaka-project/shaka-player/commit/6c0c63d38ca8a41a734559aa62d88af18e6d5b9c)) +* Store bandwidth info inside references. ([#6825](https://github.com/shaka-project/shaka-player/issues/6825)) ([b4e04b6](https://github.com/shaka-project/shaka-player/commit/b4e04b6616bccc2e04a05416dc41538da5a32e54)) +* **TTML:** Add support for IMSC1 (CMAF) image subtitle ([#6968](https://github.com/shaka-project/shaka-player/issues/6968)) ([3b62296](https://github.com/shaka-project/shaka-player/commit/3b6229616e7fab5aab412acf7a16511c4f926c9f)) +* **UI:** Add chapter button ([#7018](https://github.com/shaka-project/shaka-player/issues/7018)) ([87bf738](https://github.com/shaka-project/shaka-player/commit/87bf738ece4081e4ed4ea2fa52467e6d09cb542d)) +* **UI:** Add MediaSession management ([#7188](https://github.com/shaka-project/shaka-player/issues/7188)) ([3026ba5](https://github.com/shaka-project/shaka-player/commit/3026ba518b21017bbb8b99d5d69f5c73f7b7f927)) + + +### Bug Fixes + +* **ABR:** Do not adapt between spatial & non spatial audio ([#7067](https://github.com/shaka-project/shaka-player/issues/7067)) ([1dc5c87](https://github.com/shaka-project/shaka-player/commit/1dc5c8719cc5308c552b5a05ccd6e517f143edc0)) +* **ABR:** Fix restrictToElementSize running while abr disabled ([#7153](https://github.com/shaka-project/shaka-player/issues/7153)) ([aea85b0](https://github.com/shaka-project/shaka-player/commit/aea85b04b6f603bd2c4550b31d8b48a14ff0ffab)) +* **ABR:** Not change to another quality without respecting a min time ([#6979](https://github.com/shaka-project/shaka-player/issues/6979)) ([a5095a8](https://github.com/shaka-project/shaka-player/commit/a5095a80d34ecf04b3f919d780d956be00369e0a)) +* Add more info in getVariantTracks for muxed streams ([#7181](https://github.com/shaka-project/shaka-player/issues/7181)) ([d63c44a](https://github.com/shaka-project/shaka-player/commit/d63c44afba8e217238d2e4eb25b27778f4fd3cb1)) +* Add null check for current reference ([#7184](https://github.com/shaka-project/shaka-player/issues/7184)) ([f5aceed](https://github.com/shaka-project/shaka-player/commit/f5aceeddb3824487dfc4355158bfcfd5cee7a378)) +* Adjust timing of mediaqualitychanged event when safe margin is set ([#7114](https://github.com/shaka-project/shaka-player/issues/7114)) ([f6ac236](https://github.com/shaka-project/shaka-player/commit/f6ac236f99f840a2ab5f82fc3138f490ee72a6d3)) +* **Ads:** Detect correctly interstitial preroll when using native HLS playback in Safari ([#7093](https://github.com/shaka-project/shaka-player/issues/7093)) ([9912798](https://github.com/shaka-project/shaka-player/commit/9912798137a05af9c2a1d67a85d911b3ec472607)) +* **Ads:** Don't show duplicate SKIP UI in IMA CS ([#7084](https://github.com/shaka-project/shaka-player/issues/7084)) ([9337143](https://github.com/shaka-project/shaka-player/commit/9337143856058c7f3773268556b875c4afa5e309)) +* **Ads:** Fix back to live for native HLS when interstitial endTime is Infinity ([#7095](https://github.com/shaka-project/shaka-player/issues/7095)) ([18aea54](https://github.com/shaka-project/shaka-player/commit/18aea54f6e4a1013bc8fe4075f11b4662aa705c8)) +* **Ads:** Fix mangled properties when using X-ASSET-LIST ([#7002](https://github.com/shaka-project/shaka-player/issues/7002)) ([ade19cb](https://github.com/shaka-project/shaka-player/commit/ade19cb2601a954c372dbc111a5088b54fbb3b87)) +* **Ads:** Fix playback of preroll interstitial when the currentTime is 0 ([#7092](https://github.com/shaka-project/shaka-player/issues/7092)) ([0cdeb65](https://github.com/shaka-project/shaka-player/commit/0cdeb65799c262203ef5e94e273da1e3575cb1e1)) +* **Ads:** Fix timelineRange detection in HLS interstitials ([#7091](https://github.com/shaka-project/shaka-player/issues/7091)) ([d79f8e2](https://github.com/shaka-project/shaka-player/commit/d79f8e2ce387b91ef79bb9a99a620b5310e17bdd)) +* **Ads:** Only allow play the preroll once ([#7096](https://github.com/shaka-project/shaka-player/issues/7096)) ([0248268](https://github.com/shaka-project/shaka-player/commit/024826811d0ac5aff853df5123389a50759cf16a)) +* Allow dispatch metadata event with cueTime equal to 0 ([#7098](https://github.com/shaka-project/shaka-player/issues/7098)) ([dcdecf9](https://github.com/shaka-project/shaka-player/commit/dcdecf9de0447b336e361b557364e7c7a60c0dd1)) +* Allow recover normal stream when trick play stream fails ([#7234](https://github.com/shaka-project/shaka-player/issues/7234)) ([2638ada](https://github.com/shaka-project/shaka-player/commit/2638ada153ef477bbe5414c9050701a56ec91cda)) +* Allow reference mimeType change in StreamingEngine ([#7061](https://github.com/shaka-project/shaka-player/issues/7061)) ([bf6632e](https://github.com/shaka-project/shaka-player/commit/bf6632e325e4690d4242c33236f7f5a984e1c83e)) +* Apply playRange config to src= ([#7168](https://github.com/shaka-project/shaka-player/issues/7168)) ([7cf332e](https://github.com/shaka-project/shaka-player/commit/7cf332e3a9ed1cbf14d22e720d07922e70df542d)) +* Avoid clear buffer when select the same audio track ([#6959](https://github.com/shaka-project/shaka-player/issues/6959)) ([b953a75](https://github.com/shaka-project/shaka-player/commit/b953a75474f52f79d3f6ade0a2a18cb30e56cd9e)) +* Avoid reset iterator when seek into the buffer ([#7004](https://github.com/shaka-project/shaka-player/issues/7004)) ([dc34ec4](https://github.com/shaka-project/shaka-player/commit/dc34ec484a241c420eb6216a1151ffc7ed3c4817)) +* **CEA:** Always init CEA parser with new init segment ([#7102](https://github.com/shaka-project/shaka-player/issues/7102)) ([61e570e](https://github.com/shaka-project/shaka-player/commit/61e570efa4056a913c523ef7a66511314e353eb1)) +* **CEA:** Offset text CEA-608 that are out of viewport ([#7024](https://github.com/shaka-project/shaka-player/issues/7024)) ([230f6e0](https://github.com/shaka-project/shaka-player/commit/230f6e0095e74ea1f88a43c0da099d20d6ddfd41)) +* Compare normalized codecs in codec switching checks ([#7143](https://github.com/shaka-project/shaka-player/issues/7143)) ([01545f4](https://github.com/shaka-project/shaka-player/commit/01545f4c3eb540d6cc32c11a91874d53ddf92386)) +* Correct the behavior to defer closeSegmentIndex() calls during updates ([#7217](https://github.com/shaka-project/shaka-player/issues/7217)) ([7ba7e61](https://github.com/shaka-project/shaka-player/commit/7ba7e618d0991e0c31b9c126919c411aa35c2a97)) +* **DASH:** Allow play all time fastSwitching tracks ([#7180](https://github.com/shaka-project/shaka-player/issues/7180)) ([4abfc5a](https://github.com/shaka-project/shaka-player/commit/4abfc5ac82927afa16ffdde270dd73ff42281f82)) +* **DASH:** Clear streamMap when period is removed from the manifest ([#7202](https://github.com/shaka-project/shaka-player/issues/7202)) ([c5df88b](https://github.com/shaka-project/shaka-player/commit/c5df88b49542f324154adf0a5655a66d1da32d9a)) +* **DASH:** Fix allPartialSegments signal when using L3D ([#7179](https://github.com/shaka-project/shaka-player/issues/7179)) ([a1d3927](https://github.com/shaka-project/shaka-player/commit/a1d392764067cef57906cc007c7c7f46117da472)) +* **DASH:** Fix codec/mimeType for single text file ([#7075](https://github.com/shaka-project/shaka-player/issues/7075)) ([4728d08](https://github.com/shaka-project/shaka-player/commit/4728d082d7249970884a0457dec02a441936332f)) +* **DASH:** Fix creation of multiperiod trickmode streams ([#7229](https://github.com/shaka-project/shaka-player/issues/7229)) ([ebab340](https://github.com/shaka-project/shaka-player/commit/ebab340d9aae7fddc1193f8598271ddedcd7f1c7)) +* **DASH:** Fix EventStream Elements creation ([#7194](https://github.com/shaka-project/shaka-player/issues/7194)) ([bd06fe7](https://github.com/shaka-project/shaka-player/commit/bd06fe7a3d405b3705596b7a6fbf9e1334d6410c)) +* **DASH:** Fix MPD Patch when SegmentTemplate is shared between Representations ([#7218](https://github.com/shaka-project/shaka-player/issues/7218)) ([b2502fd](https://github.com/shaka-project/shaka-player/commit/b2502fd0a0093dc9acddb8b18c7e87ef061098c6)), closes [#7214](https://github.com/shaka-project/shaka-player/issues/7214) +* **DASH:** Fix period combining when roles are equal ([#7065](https://github.com/shaka-project/shaka-player/issues/7065)) ([38c691b](https://github.com/shaka-project/shaka-player/commit/38c691beb51fc0bceafee3fbb72248598ca98376)) +* **DASH:** Fix transitions from 'dynamic' to 'static' ([#7029](https://github.com/shaka-project/shaka-player/issues/7029)) ([3ba94b8](https://github.com/shaka-project/shaka-player/commit/3ba94b82ea43dcca71e129be0c24b1ee792f66d6)) +* **DASH:** Improve memory usage with live streams ([#7039](https://github.com/shaka-project/shaka-player/issues/7039)) ([d1435c7](https://github.com/shaka-project/shaka-player/commit/d1435c74591859b16bf5063433b386d364d8331e)) +* **DASH:** Patch manifest Adaptationset indexing, [@n](https://github.com/n)=<Numbering> and [@t](https://github.com/t)=