question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Webcam.getWebcams() stuck on macOS

See original GitHub issue

Hello

I am using the sarxos webcam to get pictures and it workes fine on Windows 10 but on Mac OS (high Sierra) it stucks at Webcam.getWebcams(), and the same happenes with Webcam.getDefault(), so nothing works.

In the logger, the only thing displayed is: 5 [JavaFX Application Thread] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used.

Is there any way to get around this and make this work on mac?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

14reactions
neilyoungcommented, Mar 24, 2020

it works perfectly on a Mac.

Update: March 2020. Well, I have to revert my statement. It is not working anymore on Mac 😃

0reactions
eduramibacommented, Dec 9, 2022

Hi, please try this driver, it should work with recent MacOS versions https://github.com/eduramiba/webcam-capture-driver-native

Read more comments on GitHub >

github_iconTop Results From Across the Web

com.github.sarxos.webcam.Webcam.getWebcams java code ...
Webcam.getWebcams(). /** * Get list of webcams to use. This method will wait predefined time interval for webcam devices * to be discovered....
Read more >
Spidering Hacks
Kevin Hemenway, coauthor of Mac OS X Hacks (O'Reilly), is better known as Morbus Iff, ... getcams.py − Archiving Your Favorite Web Cams....
Read more >
#ubuntu.txt
[02:15] <bazhang> xtknight: locked out for now [02:15] <xtknight> ... [08:00] <LiraNuna> tigran, use uid() function, if it's not 1000, ...
Read more >
library webcam-capture by sarxos not working on raspberry
Just to record the solution I provided in the ticket created in Webcam Capture API project on Github in case anyone has the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found