File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes How to: USB-camera video streaming using applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "How to: USB-camera video streaming using applet" Watch "How to: USB-camera video streaming using applet" New topic
Author

How to: USB-camera video streaming using applet

Aji Prasetyo
Ranch Hand

Joined: Jun 13, 2007
Posts: 65
Hello,

I need to make an applet to display the USB-camera images through a computer network.
Can somebody tell me how to make it. A sample-code would be great for me to learn.

Thank you so much beforehand.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
The Java IO FAQ has a couple of links about the subject of accessing USB devices. I'm not sure if that includes cameras, though.


Ping & DNS - my free Android networking tools app
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8843
    
    7

The Java Media Framework can access a camera. Of course, you have to set up JMF on the client first, plus enable camera capture (it's a security risk to allow untrusted apps access to the camera).
I don't think the JMF has been updated in quite a while, so you may want to do some research before diving in.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Aji Prasetyo
Ranch Hand

Joined: Jun 13, 2007
Posts: 65
Thank you for your reply.

Actually, I ran Java under Linux (Fedora). Is above tutorial is applicable on Linux as well?

Thank you so much.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to: USB-camera video streaming using applet
 
Similar Threads
iPad - meh...
iPad
trusted applet
Applet Servlet Communication
An interview Question about Linux