[Question] Can via.js be used to execute fetch() in AudioWorkletGlobalScope?
guest271314 opened this issue · 2 comments
guest271314 commented
fetch()
is not defined in AudioWorkletGlobalScope
. Can via.js be used to execute fetch()
in AudioWorkletGlobalScope
?
AshleyScirra commented
I don't know, try it and see.
guest271314 commented
Not as currently written. AudioWorkletProcessor
uses a MessagePort
audioWorklet.js:359 Uncaught (in promise) TypeError: self.postMessage is not a function
at Object.Via.postMessage (audioWorklet.js:359)
at Via.Flush (audioWorklet.js:189)