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

Error in iOS Safari 12 #24

Open
hgcummings opened this issue May 16, 2020 · 0 comments
Open

Error in iOS Safari 12 #24

hgcummings opened this issue May 16, 2020 · 0 comments

Comments

@hgcummings
Copy link

On iOS Safari 12, audio processors can't extend AudioWorkletProcessor because it's not a class with a prototype object.

Error and stack trace

TypeError: The value of the superclass's prototype property is not an object.

  1. Eval Code
  2. eval
  3. about:blank:2:2231
  4. (anonymous function) — index.js:86
  5. promiseReactionJob

This is the offending line https://github.com/GoogleChromeLabs/audioworklet-polyfill/blob/master/src/index.js#L86. which is (unsurprisingly) the line that evals the processor.

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

No branches or pull requests

1 participant