Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JS AES fallback when browserCrypto.subtle returns undefined (rath… #6446

Merged
merged 1 commit into from
May 24, 2024

Conversation

robwalch
Copy link
Collaborator

This PR will...

Fix JS AES-128 fallback when browserCrypto.subtle returns undefined.

Why is this Pull Request needed?

There was an assumption that browserCrypto.subtle (or webkitSubtle) would return null, but when hosting over http it returns undefined.

Are there any points in the code the reviewer needs to double check?

Additional Typescript definitions and removal of outside variables used in callback function scope (subtle ->this.subtle).

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.5.9 milestone May 24, 2024
@robwalch robwalch merged commit d0832c6 into master May 24, 2024
16 checks passed
@robwalch robwalch deleted the bugfix/software-aes-fallback-http branch May 24, 2024 18:50
robwalch added a commit that referenced this pull request May 24, 2024
robwalch added a commit that referenced this pull request May 31, 2024
* patch/v1.5.x:
  Update github actions
  chore(deps): update tjenkinson/gh-action-auto-merge-dependency-updates action to v1.4.2 (#6333)
  Emit FRAG_PARSING_ERROR on unsupported M2TS codec (#6447)
  Fix JS AES fallback when browserCrypto.subtle returns undefined (rather than null) (#6446)
  Fix 608 caption TextTrack Cue seek/discontinuity timing regression introduced in v1.5.0 with #5557
  Fix 608 parser handling of redundant control codes Fixes #6427
  Fix backtracking when an appended segment has no buffered timerange (#6434)
  Fix missing details if subtitle changed synchronously after loaded and before onLoaded callback (#6424)
  Bugfix: Handle irregular white-space in segment URIs (#6396)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant