I am using react-webcam and want to take screenshot of the current webcam image
When I use this.webcam.getScreenshot(); it always returns null. However, when I use a set time out of say 3 seconds, it works and gives me the screenshot
Is there any solution to get this work without the timeout