Open acharlop opened 1 year ago
Why is this not there? I'm in need of this ASAP as well. Library is such a clean implementation and this could definitely help ig.
The IMediaRecorder interface could be extended from native MediaRecorder.
I desperately need this feature. Willing to work on a PR @acharlop if I can reach out to you for help / questions.
In my case, I need to get the current audio data when recording is paused (not stopped). This is possible with native MediaRecorder using timeslice
=> mediaRecorder.start(timeslice)
and mediaRecorder.requestData()
.
This is blocking me as well. Would it need anything more than a passthrough function like these? https://github.com/chrisguttandin/extendable-media-recorder/blob/master/src/factories/media-recorder-constructor.ts#L215-L217
If it's that simple I'll put that PR together tomorrow 👍🏻
Hey thanks for the lib, so far the only thing blocking me from using it is
requestData()
is a requirement. What do you think the effort would be, and do you have a general idea of what needs to be done? I'm happy to take a shot at it and make a PR if it would help. 🙏