I am trying to post an Event or notification to a dialog
or frame
, when a video capture device is connected to a system.(Mac OS X). I am trying to do it with java . Any help would be far kind.
You might want to look into the Java Media Framework . Its CaptureDeviceManager class seems to offer the required facilities. I've shortly experimented with JMF and found it to be quite easy to get a stream from a webcam and output it to a Swing container. Took minimal effort.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.