Android Chrome 39 getByteFrequencyData returns 0 a

2019-08-05 15:16发布

问题:

I have setup example here - http://jsbin.com/hotovu/2/

On desktop chrome all is good. Android Chrome 39 returns all the arrays to 0,0,0, ... ( on ADB plugin for chrome debug )

Any workaround to make this work ?

回答1:

This is a known bug. http://crbug.com/419446. It's not the Analyser, it's the media element. If you can load it with XHR into a buffer and play it, it will work.