Mariam
Mariam

Reputation: 429

How to load installed webcams names in Java

Is there to load the names of the installed webcams on my computer in Java application ?

Upvotes: 1

Views: 170

Answers (1)

Stephen C
Stephen C

Reputation: 718788

This page says that if the webcams are ones that JMF understands then this will list them:

Vector info = CaptureDeviceManager.getDeviceList(null);

The page goes on to talk about using gstreamer-java with webcams that JMF doesn't understand, but I can't see anything there about finding the webcams.

Upvotes: 1

Related Questions