/* * VIDEO */ public static WebcamDeviceList GetVideoDevices() { WebcamFfmpegGetDevices w; if (UtilAll.GetOSEnum() == UtilAll.OperatingSystems.LINUX) { w = new WebcamFfmpegGetDevicesLinux(); } else if (UtilAll.GetOSEnum() == UtilAll.OperatingSystems.WINDOWS) { w = new WebcamFfmpegGetDevicesWindows(); } else { w = new WebcamFfmpegGetDevicesMac(); } WebcamDeviceList wd_list = w.GetDevices(); return(wd_list); }
public static List <string> GetVideoDevicesWindows() { return(WebcamFfmpegGetDevicesWindows.GetDevices()); }