Skip to content

Window Not Defined #220

@wizardmanannan

Description

@wizardmanannan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions