use-media-recorder
use-media-recorder copied to clipboard
React based hooks to utilize the media recorder api for audio, video and screen recording
Add warning/throw error if custom media stream is invalid? **Current behavior**: fails silently and falls back on internal media stream https://github.com/wmik/use-media-recorder/blob/f3631a7e000b9e1c4b4fa7f53f309663d3e15af4/index.js#L107-L111
Specifying a codec for the mimetype results in an error when trying to playback the blob in Safari
With the native MediaRecorder api, you can specify a codec for the mimetype with the following syntax: `'audio/mp4; codecs=mp4a.40.2'`. This doesn't seem possible in the blobOptions object based on my...
If I call stopRecording() immediately after the recording starts (more specifically when `status === "recording"`), I get the following error: `TypeError: undefined is not an object (evaluating 'sampleChunk.type')` If I...
Disable recording and cleanup when a component is no longer mounted. - [ ] Implementation - [ ] Testing - [ ] Documentation **Update** How to replicate: 1. Render multiple...
short description
I'm not sure why a wrapper liveStream instance is created from the existing mediaStream. It results in a new stream, which causes flickering when the component re-renders
The onStop callback is never called, so there is no way to get the last audio chunk and it's unfortunately lost. This is because the event listener for handleStop() is...