react-media-recorder is a react component with render prop that can be used to record audio/video streams using MediaRecorder API.
useReactMediaRecorder
Complete re-write with React Hooks and all.