Comments (7)
That is expected too I believe. It should be accessible on next render (because of state changes)
Could you try adding something along these lines to your component
useEffect(() => {
if (recorder.recordingBlob) {
console.log(recorder.recordingBlob)
}
}, [recorder.recordingBlob])
from react-audio-recorder.
@jeriferdiano - The hook provides recordingBlob
which would have the blob file after the stopRecording
method from the hook has been called.
from react-audio-recorder.
@samhirtarif
but after calling stoprecording recordingBlob it's still undefined
from react-audio-recorder.
Would it be possible for you to share a code snippet? I would be able to help better that way.
from react-audio-recorder.
from react-audio-recorder.
I believe it should be recorder.stopRecording()
in the else
block.
from react-audio-recorder.
I believe it should be
recorder.stopRecording()
in theelse
block.
sorry I was wrong, but I have changed it still can't recordingBlob
from react-audio-recorder.
Related Issues (20)
- To capture audio segments every second while the user is between startRecording() and stopRecording(). HOT 1
- Failed to parse source map
- Is there a way to get recordingBlob during the record without calling stopRecording()
- useEffect startRecording makes recordingTime jump/skip HOT 2
- compile failed when I use hook only HOT 3
- How to customize position of resultant audio file
- Cannot read properties of undefined (reading 'getUserMedia')
- You may need an additional loader to handle the result of these loaders. HOT 2
- there's now way to control cancel button which is weird !!!!!
- discard doesn't work when using recorderControls. saves blob instead HOT 2
- Using recordingBlob HOT 1
- Component is not accessible to keyboard users
- How can I set the downloadFileExtension when using the hook? HOT 2
- Audio breaking in chrome android HOT 1
- Types not exported correctly HOT 4
- Is it possible to change canvas/waveform?
- Audio Recorder Crashing on Chrome Version older than 80 without ES11 support
- Add ability to change icons
- Safari support HOT 1
- Can it record microphone and speaker at the same time?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-audio-recorder.