kubi
kubi

Reputation: 965

Web audio / radio streaming client: use Howler.js, native Audio, other library?

I have been building a web radio player for live streams & static files (MP3 over http). I picked Howler.js as the back-end to normalize the quirks of HTML5 Audio (think: Autoplay, fading in/out, progress events).
Unfortunately, I ran into several bugs (e.g. incompatibility with iOS Control Center, event handling) and found some "creative" workarounds -- but, right now, I'm at the point where I have serious doubts that the cost to use Howler overweighs the benefits. Furthermore:

So now, before I ditch Howler and just go with the browser's native Audio API, and hopefully don't run into unforeseen problems: has someone been at this point and can advise?
Are there other libraries I have overlooked?

I realize this is a rather soft question, unfortunately -- any suggestions on where to ask or what other information to provide are greatly appreciated.

Upvotes: 9

Views: 4267

Answers (1)

Aashif Ahamed
Aashif Ahamed

Reputation: 1132

Howler is the most popular audio library on NPM with more than 12k weekly downloads. here is some other popular libraries.

ReactPlayer

wavesurfer.js

jPlayer

Sound.js

SoundManager 2

Upvotes: -1

Related Questions