getByteFrequencyData not working for live streams in Safari

Very relevant demo


When playing a HTTP audio live stream in Safari, the analyser's

getByteFrequencyData
fills the Array with zeroes.

In all other browsers this works as expected, and Safari has no problems correctly populating the frequency data for static files.

CORS headers are correctly set, the Apple documentation mentions no special cases.

  • Hey its 2023, and this getByteFrequencyData continue to refuse to work with any audio stream, it only work with local or distant files it made me mad for 3 weeks why a such simple thing is not patched since its been around for 10 years !

Add a Comment