Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

How do you turn off Camera?

$
0
0

In an AIR application, how do you turn off the camera once it has been activated? I remove all references to Video objects associated with the camera, unattach the camera from NetStreams, and remove references to the camera object. This does not deactivate the camera; it seems to be necessary to run the garbage collector too. The trouble is that running the program in the debugger with the manual garbage collector action causes the application to be unresponsive for >30 seconds, which is extremely annoying. Is there a simpler way to turn off the camera?

 

For reference, I am testing on a MacBook that has an LED for when the camera is in use.

 

EDIT:

I have opened a bug for this, which Adobe appears to say is an enhancement.

https://bugbase.adobe.com/index.cfm?event=bug&id=3552765


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>