Skip to content

When audio is false there is not audio in the MediaStream from the Webcam #395

@markVaykhansky

Description

@markVaykhansky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions