What causes to not turn on the camera when waking MacBook from sleep mode?

Viewed 36

I'm using HTML, CSS, JavaScript to build a web application.

I'm using MediaDevices.getUserMedia() method to access to the FaceTime camera. The application continuously capture the frames. At that time, the camera indicator is turned on.

I set MacBook in sleep mode and wait for an hour. After that, I wake up it. The camera isn't turned on (camera indicator is still off). But I can use other apps to turn on the camera (such as Photo Booth, FaceTime).

I found that someone has the same issue. But when the glitch occur on their MacBook, the camera isn't turned on from any application.

Furthermore, this issue only occur at 1 of 5 MacBook that I used to test.

It seems the causes are related to the setting. But I can't guess the reason. Could anybody tell me about what maybe the cause?

0 Answers
Related