private static List < WebcamDevice > getDevices ( List < Webcam > webcams ) { List < WebcamDevice > devices = new ArrayList < WebcamDevice > ( ) ; for ( Webcam webcam : webcams ) { devices . add ( webcam . getDevice ( ) ) ; } return devices ; }
Get list of devices used by webcams .