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

Window Not Defined #220

Open
wizardmanannan opened this issue Dec 19, 2020 · 0 comments
Open

Window Not Defined #220

wizardmanannan opened this issue Dec 19, 2020 · 0 comments

Comments

@wizardmanannan
Copy link

Hello,
I am trying to use Aurora to decode AAC audio in a web worker.

When I do the following:
importScripts("/scripts/aurora/aurora.js");
importScripts("/scripts/aurora/decoders/aac.js");

I get this error:
VM7 aac.js:346 Uncaught ReferenceError: window is not defined
at Object.4../adts_demuxer (VM7 aac.js:346)
at s (VM7 aac.js:1)
at e (VM7 aac.js:1)
at VM7 aac.js:1
at self.onmessage (soundProcessorWorker.js:6)

I downloaded the latest release versions of Aurora and AAC, about an hour ago.

Does this mean that I am not able to use Aurora in a webworker?

Thanks for your help :)

Merry Christmas

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