javascript How to use mp4box.js and webcodec to extract audio from video

enter image description here

I have obtained the samples through mp4box.js and packaged them into EncodedAudioChunk, and passed them to the decoder to get the frame. How to splice all the frames and download the wav file