What are the ways to decode and play audio stream (MediaStream) with js?

I know one. Use web-audio-api to decode the arrayBuffer data transmitted from the background, and then play the sound. Are there any other ideas?

Menu