Closed maximedupre closed 1 year ago
Found the issue - AudioWorklet
only works in a secure context 🥲 So when using localhost, you need to serve your app via HTTPS (self-signed certificates).
Yes, I was just going to reply exactly that. :-) But normally localhost is considered to be a secure context.
This might be a bad bug ticket, because I'm not sure it's easily reproducible, so feel free to close it right away. I'm simply taking a chance in case you have a solution 😁
On Safari iOS 16.2 →
export class WAMController extends AudioWorkletNode
causes this error message:When I log
AudioWorkletNode
I get undefined.When I log the whole module, funny enough, only the
AudioWorkletNode
is missing 😅🤷🏻♂️I'm not sure if this has something to do with the Angular build chain, or the fact that I'm using Tone.js (uses
standardized-audio-context
as a dep)Anyway, thanks for reading 😁
Edit
addAudioWorkletModule
is also missing 🤔