jhuckaby / webcamjs

HTML5 Webcam Image Capture Library with Flash Fallback
MIT License
2.5k stars 1.11k forks source link

Black live camera view #196

Closed francoislevesque closed 8 years ago

francoislevesque commented 8 years ago

A specific webcam (Logitech C525) doesn't seem to work with the library. I get a black live camera view and therefore can only get black snapshots.

I have tested several integrated webcams and they are all working fine. Does this library is limited to integrated webcams?

I use the following code:

Webcam.attach( '#camera' );

Webcam.set({
    width: 320,
    height: 240,
    dest_width: 800,
    dest_height: 600,
    image_format: 'jpeg',
    jpeg_quality: 90,
    force_flash: false,
});
francoislevesque commented 8 years ago

After reinstalling the drivers, the problems was resolved.