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

How get an audio blob an OnStop like video

Open YuriiRysyn opened this issue 4 years ago • 1 comments

Hello, How can i get the audio blob like video blob in onStop func. I can get a audioStream, but i need an audio as the same form like video, to send it to API. Thanks) Screenshot_1 Screenshot_2 Screenshot_4

YuriiRysyn avatar Dec 22 '21 15:12 YuriiRysyn

You can get it like const { status, startRecording, stopRecording, mediaBlobUrl } = useReactMediaRecorder({ video: false, onStop: onStopRecording });

11208 avatar Jan 04 '24 06:01 11208