Commit Graph

195 Commits

Author SHA1 Message Date
Shaka Bot 3dcff750e5 chore(main): release 4.11.0 (#6950) 2024-09-04 10:35:54 +02:00
Joey Parrish c97e689043 chore: Update AbortSignal polyfill for new compiler (#7176)
This upgrades the compiler and reworks the AbortSignal polyfill to match
the new compiler externs for that class. This is important to make Shaka
Player compatible with the latest compilers in use inside Google.

Note that the Closure compiler is deprecated, so this should be our
final upgrade. We will some day move to TypeScript.

This does _not_ update the Closure library, because the latest version
causes failures we don't understand in the loading mechanism in
test/test/boot.js.
2024-08-20 11:19:46 -07:00
dependabot[bot] 780a3d856e build(deps): bump phin and jimp (#7126) 2024-08-01 10:43:11 -07:00
Joey Parrish 39a566d0a5 chore: Upgrade/unfork less-plugin-clean-css (#7125)
This was forked in 2022 to fix a vulnerability, and the fix was only
just merged.
2024-08-01 10:38:31 -07:00
Shaka Bot 4c167e9093 chore(main): release 4.10.0 (#6724) 2024-07-01 12:24:12 +02:00
Shaka Bot 30ac8c0025 chore(main): release 4.9.0 (#6498) 2024-05-30 13:57:46 +02:00
Joey Parrish bbf54d27de test: Fix encryption scheme checks in tests (#6619)
- Upgrade the encryption scheme polyfill to a version that is resilient
against multiple copies (one in compiled shaka library, one in source
form).

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2024-05-21 12:32:22 +02:00
Joey Parrish 3c2fd55b8f test: Upgrade Karma to fork with additional fixes (#6639)
The only fix right now is a minor one:

  https://github.com/joeyparrish/karma/commit/d98765e43fe801b35452fdb6cab3d1d0bac519a2

With the message:

> fix: Fix message event exception
>
> Message events may not have an origin, and they may not have an
> originalEvent field.  This happens in particular when loading Karma
> and the Chromecast SDK on a Chromecast.  An event arrives from the
> platform with neither of these properties.
>
> This fixes the error by checking for originalEvent before accessing
> a property of it.

To see a diff of all current fixes at any time, see:

  https://github.com/karma-runner/karma/compare/master...joeyparrish:karma:shaka-fixes
2024-05-18 01:27:37 -07:00
Joey Parrish 7fc6ad227b test: Upgrade Karma to latest (#6636)
Karma is no longer being bug-fixed or maintained. This upgrades to the
latest version as a prelude to moving to a fork with additional
bugfixes.
2024-05-17 22:25:12 -07:00
Joey Parrish 8a237abe05 test: Upgrade UA parser to differentiate Chromecasts (#6568)
This uses a preview of https://github.com/faisalman/ua-parser-js/pull/724 to differentiate between Chromecast models in Karma.
2024-05-09 11:21:48 -07:00
Álvaro Velad Galván ec29f82592 feat: Check encryptionScheme against MCap (#6484)
Closes https://github.com/shaka-project/shaka-player/issues/1419
2024-05-08 11:10:56 +02:00
Shaka Bot 1d51c82bc2 chore(main): release 4.8.0 (#5987) 2024-04-26 10:35:50 +02:00
Vinod Balakrishnan 7b717e513d feat: Update for LCEVC Integration with new features added. (#6263)
Features for LCEVC Decoder integration into Shaka player:

Initially in this PR we had changes to shaka player to accommodate
changes for iOS fullscreen functionality. But now we have a way to do
that inside the scope of lcevc decoder. So the only change in this PR is
the version bump of the lcevc decoder library.
2024-04-12 09:03:44 +02:00
Joey Parrish ddc24998ab ci: Unfork less.js (#6268)
The issue we had in less.js v4 has since been resolved. This updates to
less.js v4.2.0, which includes the underlying fix from its dependency,
needle v3.1.0.

Unforking also resolves CI issues where gitpkg.now.sh temporarily fails
to load, causing the whole test run to fail before it can start.
2024-02-21 13:25:22 -08:00
Joey Parrish 33a8c5760c ci: Fix Edge launcher for local testing and GitHub CI (#6221)
This updated version of karma-local-wd-launcher incorporates
https://github.com/shaka-project/karma-local-wd-launcher/pull/65 to
supply a path to the Edge binary on all platforms. This fixes local
testing and GitHub CI testing of Edge.

Though the tests run once more, there are still some test failures that
need to be dealt with.
2024-02-06 12:24:14 -08:00
Shaka Bot 7fd99b7c26 chore(main): release 4.7.0 (#5903)
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-12-04 10:57:49 +01:00
Álvaro Velad Galván b75d9be5f5 chore(LCEVC): Update lcevc_dec.js dependency (#5922)
This update adds support for Managed Media Source in LCEVC
2023-11-22 23:02:56 +01:00
Shaka Bot 42c6e5f655 chore(main): release 4.6.0 (#5729)
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2023-11-16 11:32:23 +01:00
Shaka Bot 9879eee3ef chore(main): release 4.5.0 (#5727)
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
2023-10-04 15:15:37 -07:00
Vinod Balakrishnan c1e18d3583 feat: Migration of LCEVC DIL (Decoder Integration Layer) to LCEVC Dec (Decoder) (#5459) 2023-10-03 09:00:26 +02:00
Joey Parrish 6b17355121 ci: Work around msedgedriver 115+ bug (#5618)
Specify the explicit path to microsoft-edge on Linux if found, to work around https://github.com/MicrosoftEdge/EdgeWebDriver/issues/102#issuecomment-1710724173

This also incorporates
https://github.com/shaka-project/webdriver-installer/pull/35, https://github.com/shaka-project/karma-local-wd-launcher/pull/60, and https://github.com/shaka-project/karma-local-wd-launcher/pull/62 to revert earlier workarounds and apply new ones for local test runs.
2023-09-07 19:26:35 -07:00
Álvaro Velad Galván 7df3321272 feat: Add TS transmuxer for muxed content (#5571) 2023-09-07 18:20:03 +02:00
github-actions[bot] e1eca51d69 chore(main): release 4.4.0 (#4692)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-30 15:30:45 -07:00
Joey Parrish 92edb7b1ef test: Cache Babel output (#5539)
This caches Babel's transpiler output for reuse, and should speed up all
test runs in theory, but the effect is most noticeable on local test
runs.

This uses a fork of karma-babel-preprocessor, which contains
https://github.com/babel/karma-babel-preprocessor/pull/77. If/when that
PR is merged, we can move back to the upstream module.

Local runs will start faster because only modified source files will be
re-processed through Babel when the tests start up.

In the Selenium workflow, Babel output and node_modules will both be
computed by the singular build-shaka job, stored, and then reused by all
the Selenium lab matrix jobs.

On my workstation (3.3 GHz cores, 32GB RAM, spinning platter disk), I
see tests start about ~60 seconds faster. In the lab (2.1-4.7 GHz cores,
64GB RAM, solid-state disk), I see tests start about ~10 seconds faster.
2023-08-28 08:59:02 +02:00
Joey Parrish 3104a76814 fix: Update karma-local-wd-launcher to fix Edge >= 115 (#5506) 2023-08-18 12:26:50 -07:00
Joey Parrish c8a27ca248 fix: Update karma-local-wd-launcher to fix Chromedriver >= 115, fix M1 mac (#5489) 2023-08-17 10:39:37 -07:00
Joey Parrish a909ed4ce1 fix: Fix failure when drivers lag behind browser (#5423)
Fixed via shaka-project/webdriver-installer#24 in
webdriver-installer@1.1.6 and shaka-project/karma-local-wd-launcher#53
in karma-local-wd-launcher@1.6.2
2023-07-19 11:58:26 -07:00
Joey Parrish 524a80b449 fix: Ship to NPM without node version restrictions (#5253)
Before packaging for NPM, remove the "engines" section of package.json
to avoid unnecessary restrictions on node versions for projects that
simply depend on Shaka Player, but don't need to rebuild it. This is
accomplished with the clean-package tool:
https://github.com/roydukkey/clean-package

The "engines" section and its restrictions still make sense for Shaka
Player development, so it will not be removed from package.json in the
repo.

Closes #5243
2023-06-01 16:14:56 -07:00
Álvaro Velad Galván 03b39f75da fix(Demo): Fix deployment of codem-isoboxer in the Demo (#5257)
Fixes https://github.com/shaka-project/shaka-player/issues/5250
2023-06-01 19:08:49 +02:00
Álvaro Velad Galván f80bf208b1 feat(MSS): Add support for Microsoft Smooth Streaming (VOD only) (#5002)
Closes https://github.com/shaka-project/shaka-player/issues/703

---------

Co-authored-by: Joey Parrish <joeyparrish@google.com>
2023-03-24 07:47:33 +01:00
Joey Parrish 28b73b921d fix(hls): Fix type error in lazy-loading (#4687)
There was a potential type error in an edge case in lib/player.js. It
would have been caught by the latest compiler, so this upgrades the
compiler and fixes another type error in one other place, as well.
2022-11-11 07:07:58 -08:00
github-actions[bot] 393df0645f chore(main): release 4.3.0 (#4424)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-10 14:51:32 -08:00
Vinod 3c75d1a71a fix: Fixed LCEVC decode breaking dependencies issue and read me addition (#4565)
Changes are as follows:
1. Fixed demo breaking dependencies.
2. Fixed some typos
3. Added LCEVC support section to readme.

Co-authored-by: Vinod Balakrishnan <vinod.balakrishnan@v-nova.com>
2022-10-11 13:27:29 -07:00
fabio-murra 284ea63a60 feat: LCEVC Integration (#4050)
Integration of MPEG-5 Part-2 LCEVC into Shaka Player.

A config must be enabled and a canvas element must be provided.

The Shaka Player UI will automatically provide an appropriate canvas.

Co-authored-by: Vinod Balakrishnan <vinod.balakrishnan@v-nova.com>
Co-authored-by: Vinod <36663769+vinod-balakrishnan@users.noreply.github.com>
Co-authored-by: Vinod <vinod.balakrishnan111@gmail.com>
2022-10-03 11:32:27 -07:00
github-actions[bot] 4781fc6563 chore(main): release 4.2.0 (#4273)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-16 18:06:09 -07:00
Joey Parrish e9d836ac32 test: Fix Tizen test failures due to ES6 in polyfill (#4398)
The upgraded polyfill fixes this.

See shaka-project/eme-encryption-scheme-polyfill#49
2022-08-10 11:12:47 -07:00
Wojciech Tyczyński e6b6d7c24b feat: Upgrade eme-encryption-scheme-polyfill to support ChromeCast version of PlayReady (#4378) 2022-08-01 12:34:16 -07:00
Álvaro Velad Galván 5b18069430 feat: Add fallback to TextDecoder and TextEncoder (#4324)
Related to https://github.com/shaka-project/shaka-player/commit/a72a1e91023a33c777a6001a64f818ea2e469914
2022-07-11 10:24:11 -07:00
pszemus 294253e4ae chore: Update mux.js to 6.2.0 (#4338)
mux.js v6.2.0 introduces changes that are useful while parsing ID3 HLS in-band metadata.
2022-07-08 13:12:58 -07:00
Joey Parrish db1b20ec77 fix: New EME polyfill fixes EME/MCap issues on some smart TVs (#4279) 2022-06-07 14:20:17 -07:00
github-actions[bot] 913ee57fd5 chore(main): release 4.1.0 (#4235)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-03 08:01:26 +02:00
Álvaro Velad Galván dc88fe0814 chore: Update mux.js to 6.1.0 (#4259)
Closes #3761
2022-05-31 09:28:44 -07:00
Dulmandakh a6b7148d8d chore: require node 14 or above (#4219)
Most of our existing dev dependencies require node 12+, and node 16 is the active LTS for several more months.  Let's make node 14 the required minimum for Shaka Player development, to avoid issues with our dev deps failing on older versions.
2022-05-12 12:06:44 -07:00
github-actions[bot] 20ddf6aa53 chore(main): release 4.0.0 (#4009)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-02 12:58:17 -07:00
Joey Parrish d1699de19b test: Fix Safari tests hanging in GitHub Actions environment (#4144)
Fixed upstream in shaka-project/karma-local-wd-launcher#38

Closes #3967
2022-04-21 08:52:36 -07:00
Joey Parrish d8b3341720 test: Run tests on a custom Selenium grid (#4117)
Includes a YAML config file for our lab, and documentation on how to
create a custom config for another Selenium grid.

A workflow will run tests nightly in the Shaka lab, using a
self-hosted runner with access to our private grid.

The workflow can also be triggered manually by maintainers to test a
PR in the lab.  This will report status back to the PR.
2022-04-12 11:32:59 -07:00
Joey Parrish 9660ce85df fix: Fix broken deps file generation on Windows (#4086)
This fixes broken deps file generation on Window by upgrading to a
pre-release version of the deps tool.  The upstream issue was filed in
https://github.com/google/closure-library/issues/1159 and fixed in
https://github.com/google/closure-library/pull/1160.

This issue has never affected a release version of Shaka Player, and
was introduced when we switched deps tools in 6f274cbc.

Closes #4085
2022-03-30 19:25:55 -07:00
Joey Parrish 55eab2198c chore: Upgrade HTMLHint to new version with vulnerability fixed (#4071)
We were using a pre-release version of the same for a while, but this
is the same fix in an official release.
2022-03-29 09:37:23 -07:00
Joey Parrish 6f274cbc97 build: Stop using deprecated tool to generate closure deps (#4060)
The depswriter.py tool from google-closure-library was generating
deprecation warnings.  This switches to a newer, rewritten version
called google-closure-deps.
2022-03-23 15:08:01 -07:00
Joey Parrish 3f838cfd3a ci: Deploy demo to appspot nightly and on releases (#4038)
This imports our appspot code into the repo and updates all of it to
Python 3.
2022-03-21 11:15:40 -07:00