0 Replies Latest reply on Mar 31, 2010 1:26 AM by flex@relax

    How do I detect in Flex 3 if a camera is already in use by another application

    flex@relax

      Is there any way that I can detect if a camera is already in use by any other application?

       

      I am making an application that plays the video stream from the user's local system (both Windows and Mac). I use the Camera.getCamera() method and in turn Camera.names to get a list of cameras attached to the system.


      It returns an object of Camera type even if the camera is being used by another application. I have examined the properties of camera object in both cases, there is no difference between them to help identify whether the camera is already in use or not.

       

      If it was in use by some other app and I click on "Allow" button on privacy alert in flash, the browser crashes. If denied, nothing happens as expected.

       

      Any help would be greatly appreciated. Thanks