Use case: We want a webcam with an audio stream to record but it shouldn't playback the audio.
When I set audio prop to false in order to mute the Webcam it also disables the audio stream of the WebCam's MediaStream.
There should not be coupling between the two.
I belive that removing the if statement on line 278 in react-webcam.tsx should do the trick.
Please follow the general troubleshooting steps first:
Bug reports:
Not sure if this is intended or not.
Use case: We want a webcam with an audio stream to record but it shouldn't playback the audio.
When I set
audio
prop tofalse
in order to mute the Webcam it also disables the audio stream of the WebCam's MediaStream. There should not be coupling between the two.I belive that removing the
if
statement on line 278 inreact-webcam.tsx
should do the trick.