Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web cam is not releasing after navigating to another screen 2 form screen 1 in react #372

Open
kodali444 opened this issue May 1, 2023 · 0 comments

Comments

@kodali444
Copy link

Please follow the general troubleshooting steps first:

I'm checking application in the local system. This is working fine in 'https' protocol except following issue.

Bug reports:

Hi Team, I'm using react-webcam,react-mic in my project. In first component I'm using these 2 modules. these are working fine. So after checking cam, and mic functionality, I'm using props.history.push() to go to 2nd screen. In that screen I'm getting "This Tab is using your Camera or Michro-phone" . Can any one suggest how to release cam/mic when required in 2nd component.

To resolve this, in the 2nd component I used window.location.reload(). This is working fine in desktop, android devices. But in the iphone devices app is getting logout due to window.location.reload(). Any suggestions please, thank in advance

Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant