leetreveil / musicmetadata

Streaming music metadata parser for node and the browser.
561 stars 66 forks source link

Chrome freezes/locks up while loading FLAC metadata from arraybuffer #143

Open Koenvh1 opened 7 years ago

Koenvh1 commented 7 years ago

When Chrome tries to load the metatags for FLAC using an arraybuffer, the browser locks up (stopping all music playback, generally being non-responsive to any user input etc). This problem does not happen when the responseType is set to "blob". Chrome 56 64-bit, Windows 10 64-bit, using the prepackaged file and the code from the browser example.

leetreveil commented 7 years ago

Do you send me the flac file that is locking up the browser?

Koenvh1 commented 7 years ago

An example file: http://cors-anywhere.herokuapp.com/https://play.asti.ga/02 - Reboot.flac

It can be visualized by adding an animated GIF to the page, as it will stop playing while it is processing. It seems to only happen when the file is non-local.