mozmorris / react-webcam

Webcam component
https://codepen.io/mozmorris/pen/JLZdoP
MIT License
1.63k stars 281 forks source link

audio prop state change not working #387

Open nazaninroozbahani opened 9 months ago

nazaninroozbahani commented 9 months ago

Please follow the general troubleshooting steps first:

Bug reports:

If you can provide a minimal reproducible demo (CodePen, CodeSandbox, etc) or a GitHub repository, that will greatly help us to solve your problem. Many of the issues posted are questions about react-webcam usage. We don't discourage you posting a question, it's just a lot easier to help you if we can see your code.

Features:

Please note by far the quickest way to get a new feature is to file a Pull Request.

We will consider your request but it may be closed if it's something we're not actively planning to work on.

I want to record a webcam video in 2 steps by pause/resume and in step 1 without audio and in step 2 with audio. I depended the audio props to a boolean state, state changes in log, but the final video preserve initial state in all steps. But about muted props this state changes and works correctlly.