Using FFmpeg in Unity WebPlayer

Has anyone use FFmpeg successfully in Unity WebPlayer? I need to play MP3 in WebPlayer.

BTW, Can Unity pass binary file to the browser?


I finally solved this problem without FFmpeg.

I convert the MP3 byte to Base64, pass it to browser, and play it using:

<audio src="data:audio/mp3;base64,{{audio}}"></audio>