Hacker News new | ask | show | jobs
by maga 1592 days ago
Sounds almost too good to be true, but here is hoping for the best.

> Opus audio decoder (enabled)

Considering the track record of codec support, I bet it only works when packaged as CAF, singed by QuickTime, and played during the daytime to a limited audience... I joke, but the amount of gotchas I encounter while working with WebAudio API is mindboggling and reminiscent of good ol' days of IE6. Would you guess that despite all three browsers declaring support for audio recording (MediaSource API) and all three supporting opus on paper, there is no way to produce the same opus file in all three? Safari only supports playing opus in <audio> tag, no recording; Chrome doesn't support ogg, and while both Chrome and FF allow you to record opus in webm container, the resulting file is not seekable... There are of course third-party solutions, but it's just sad to watch in the century of the fruitbat.

2 comments

I just spent the weekend banging my head against the wall trying to record and upload audio in Safari. Chrome and FF were relatively easy. Know of any good open source examples or documentation on how to do this?

It really is sad that something so simple is so hard. I refuse to pay 10 cents a minute to a third party.

In the end, I went with this library for now: https://github.com/chris-rudmin/opus-recorder

There are issues reported with the latest iOS, though.

> in the century of the fruitbat

Off topic, I know, but what in the world does this mean? I did a quick search and couldn't figure it out.

A common reference to the modern (ergo enlightened) age in Terry Pratchett's Discworld series: https://wiki.lspace.org/Century_of_the_Fruitbat

Sorry for the confusion, I'm high on caffeine.

It's a Terry Pratchett/Discworld reference.