MediaRecorder.ondataavailable - data size is always 0
问题 I'm trying to record a user's voice in the browser using Web API Media Recorder. At this stage, all I'm trying to do with the audio once recorded is add it to the source of an audio element and play it back. When I stop the recorder, the 'ondataavailable' event is triggered, but the size of the data is 0, and nothing can be played back. Here's where my code is at. I'm using React. Any ideas would be very much appreciated! handleRecording (stream) { const recordedChunks = this.state