goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.86k stars 2.23k forks source link

Big delay when play audio streams on Google Chrome than Firefox #1468

Open akatukiyou opened 3 years ago

akatukiyou commented 3 years ago

I noticed that when we playing audio streamings on Google Chrome, there is a huge delay when loading, it can take up to 10s, but the same stream will play instantly on Firefox.

An example, the 【Live Radio Demo】on the https://howlerjs.com/ page. Play those Live Radios in Chrome and Firefox, you can tell the difference. BBC1 wont be able to play at all on Chrome.

Because of the browsers?

akatukiyou commented 3 years ago

we are using the player in our radio website and run into this issue. we thought it is streaming issue, but it plays instantly in Firefox, not sure if the issue is with the player or Google Chrome or MS Edge.

akatukiyou commented 3 years ago

Play this url in Chrome and Firefox natively, you will see there is a small delay on Chrome, http://studioone-stream.iowapublicradio.org/StudioOne.mp3 But if you play this URL through Howler on Chrome, there will be extra delay added to existing delay when loading the stream.