标签: applet webcam device jmf
我尝试在applet上使用JMF来从网络摄像头读取数据。但是在下面的代码中:
String str2 =“vfw:Microsoft WDM Image Capture(Win32):0”; di = CaptureDeviceManager.getDevice(str2); ml = di.getLocator();
Capturedevicemanager.getdevice(str2);方法返回null值。
Capturedevicemanager.getdevice(str2);
TNX