Re:Push Notifications, WebXR, and better PWA support coming ...
by istjohn on Tuesday February 01, 2022 @11:42AM
(#30165158)
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.
Re:Push Notifications, WebXR, and better PWA support coming ...
by maga on Tuesday February 01, 2022 @12:00PM
(#30165503)
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.
Re:Push Notifications, WebXR, and better PWA support coming ...
by jtbayly on Tuesday February 01, 2022 @10:17AM
(#30163599)
> 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.
Re:Push Notifications, WebXR, and better PWA support coming ...
by maga on Tuesday February 01, 2022 @10:21AM
(#30163655)
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.
> 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.