extendable-media-recorder icon indicating copy to clipboard operation
extendable-media-recorder copied to clipboard

Add .requestData()

Open acharlop opened this issue 1 year ago • 4 comments

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. 🙏

acharlop avatar Aug 16 '23 07:08 acharlop

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.

harisrab avatar Aug 16 '23 20:08 harisrab

The IMediaRecorder interface could be extended from native MediaRecorder.

gitnlsn avatar Sep 24 '23 13:09 gitnlsn

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().

paschaldev avatar Mar 06 '24 08:03 paschaldev

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 👍🏻

tscritch avatar Apr 10 '24 05:04 tscritch