Error while trying to run the applet in the browser.
Posted on 2006-10-28
Windows IE Brwoser, XP, Logitech camera
I have created an applet that uses JMF to trap video from a camera for display and capture.
When using the Applet Viewer within the JBuilder IDE, the applet works fine, I see the video and
can capture images as desired; When I run it in the browser, I get an error while trying to initialize capture device
'vfw:Microsoft WDM Image Capture (Win32):0' (this is the device detected by JMF)
it comes in the JMF function 'CaptureDeviceManager.getDevice( dev )', where dev is
the device noted above.
Last time I had this problem, I was able to solve it by signing the applet jar file.
That does not work in this case. I have created a certificate and keystore .
I have used 'jarsigner' to sign the applet jar file.
I have verified that the jarfile is signed using the -verify option.
I get the popup asking for permission to use the file when I bring up the applet in the browser.
I have tried a couple different methods to sign the jar file and have even tried importing a
certificate to the browser.
I think I have the signing part done, but I still can't initialize the capture device.
The applet jar file appears to have the necessary 'javax.media' and JMF classes included.
Has anyone else had this problem?