我是Java的初学者,我试图将一台笔记本电脑显示到Java应用程序中,为此,我使用输入E-260U电视调谐器< / strong>卡,但未使用以下设备检测到此设备:Vector info = CaptureDeviceManager.getDeviceList(null);
。
这是我的代码:
Vector info = CaptureDeviceManager.getDeviceList(null);
if (info == null)
System.out.println("No Capture devices known to JMF");
else {
System.out.println("The following " + info.size()
+ " capture devices are known to the JMF");
for (int i = 0; i < info.size(); i++)
System.out
.println("\t" + (CaptureDeviceInfo) info.elementAt(i));
提前谢谢!