Closed NHQ closed 11 years ago
AV
object instead of lots of globals (e.g. AV.Player
instead of global Player
)..aac
format or ADTS but it's very rarely used except in streaming radio applications. Aurora contains an M4A demuxer automatically.
Howdy, I am having difficulties getting Aurora up and working with AAC. I have the loading of assets working fine, but I can't get the Player to play. On Player(asset).startPlaying() I get a vague error "Cannot call 'read' of undefined". If I dig into it, I see that the asset doesn't have a format defined. I think it's an acc.js related issue, but I haven't tested any others. I can't get the demo site to play an acc file either.
I have been hitting it a while now. One thing I noticed is that it doesn't seem that aac.js registers a demuxer, like the default encodings do. eg:
I'm still plugging away at it, and will report back any findings.
While I am here, I must recommend you all get with Node/Common js, NPM, and use browserify to build. Build modules. Then your streams, events, buffers and modules will be compatible with a world o' modules that work both in the browser and in Node.js. Right now, the whole project is relatively decomposed, yet those parts all rely on each other in non-decomposable ways. I can't 'npm install aac', stream buffers into it and get a stream of PCM out. In my mind, that is what acc.js should do. Instead, I have to use this framework with its globals, contextual oddities, integrated load/play, and the incompatibilities.
I mean no offense. It is obvious a lot of work has gone into aurora and the decoders. It's a shame it isn't nicer to play with.