• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Media Framework: surviving laptop hibernation

 
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am trying to adapt this image capture demo: http://www.comp.rgu.ac.uk/staff/fh/CM4062/mis/jmf/FrameGrab.html
All works well until I hibernate or standby. I come out of hibernation with built-in webcam turned off, only JMF does not know about it.

How can I adapt this code to check whether the cam is on or off? and if it's off, how do I turn it back on without causing the "device already in use" exception?

Here is the code from the link:

 
reply
    Bookmark Topic Watch Topic
  • New Topic