I need to understand the MediaRecorder API to record and store audio in the browser

I require knowledge of ArrayBuffers to build my imagestreaming app. I need to asynchronously collect a stream of data from the user’s microphone and pass it to the MediaRecorder API. Then as it records, it apparently passes chunks of bytes to the blob. Once I signal it to stop, I can ostensibly do something with this.