15 Commits

Author SHA1 Message Date
Rob Walch 987320e051 Improve audio video append sync (#7842)
* Improve AV sync in buffer-controller
Resolves #7808
* Fix backfilling of #EXT-X-PROGRAM-DATE-TIME with only one PDT tag after segments
* Fix Low-Latency part/fragment toggle when the selected fragment is changed after initial selection
2026-05-11 16:01:12 -07:00
Rob Walch 074821e317 Update chai, sinon, mocha, and wrangler dependencies with compatibility fixes
Replaces #7558
2026-02-09 13:45:41 -08:00
Rob Walch 2299042f74 Add import/order eslint rules and run npm run lint:fix (#6378) 2024-10-10 07:44:14 -07:00
Rob Walch 06f0e755d4 HLS Interstitials Support (#6591) 2024-10-03 15:19:12 -07:00
renovate[bot] 359197f20b chore(deps): update dependency prettier to v3 (#5646)
* chore(deps): update dependency prettier to v3

* run prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tom Jenkinson <tom@tjenkinson.me>
2023-08-22 11:24:59 +01:00
Rob Walch 8e6efb1c12 Migrate to Rollup with new ESM target and improved Worker support (#5299)
* Convert build packager to rollup
* Add an es module target (#2910)
* UMD build worker injection (#5107)
* Add ES5 syntax check for UMD builds (#5301, #5288)
* Add common rollup config
* handle `self` not existing (happens in nodejs. The check that makes sure the dist file can be required in node and not throw was failing because of this.)
* Disable coverage in CI
* Add `config.workerPath` option and "hls.worker.js" build output (#5107)
* Include transmuxer-interface id ("main" and "audio") in Web Worker setup and error logs

Co-authored-by: Tom Jenkinson <tom@tjenkinson.me>
2023-03-27 11:03:39 -07:00
renovate[bot] c1189df9db [skip netlify] Update dependency prettier to v2.3.0 (#3876)
* [skip netlify] Update dependency prettier to v2.3.0

* `npm run prettier`

* workaround issue with multiline ts-ignore

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tom Jenkinson <tom@tjenkinson.me>
2021-05-10 17:54:28 -04:00
Tom Jenkinson 729a36d409 switch to default print width 2020-12-24 13:31:43 +00:00
Tom Jenkinson 7342d4a6db run 'npm run prettier' 2020-12-23 20:15:35 +00:00
Rob Walch 8cdc2cb5d2 Cleanup fragment loader part handling and event typing
Run type checks on test files
2020-09-22 19:48:52 -04:00
Jamie Stackhouse 3cbcd9ad84 Implement the type assertion rule.
This should also prevent future <type> asserts from sneaking in.
2019-10-16 20:55:17 -03:00
Rob Walch 40c5d27ac2 Enforce one-var and add prefer-const eslint rules with fixes 2019-09-18 16:26:48 -04:00
John Bartos 8a97c9b49d Fix lint errors 2019-09-12 11:53:39 -04:00
John Bartos 1050e7423f [JW8-6113] Implement progressive AES decryption (#219)
* Implement progressive software AES-128 decryption JW8-6113

Breaking change: force software AES decrypter if config is true
2019-07-01 13:39:17 -04:00
John Bartos b907d45574 Refactor buffer-controller to execute all sourceBuffer actions via queues (#208)
* Refactor buffer-controller to execute all sourceBuffer actions as enqueued operations 

These changes ensure that Hls.js is able to ensure order of SB operations, as well as prevent progressive appends from deadlocking other operations

JW8-8934
2019-05-07 17:41:58 -04:00