CameraDetection is in development
The goal: more reusable components, more functionality, and a way to collect anonymous data and using the “Security Settings panel” (from livedocs).
New features / Changes:
- Settings Panel Proxy
- Media Permissions
- CameraDetection
- MicrophoneDetection (if people want)
- LoggingCameraDetection
The Settings Panel Proxy will almost be a project of its own. For a while I’ve toyed with the idea of a proxy for the Settings panel. Ideally, this will allow you to open the panel, be notified when values change, and be notified when it closes. Gone will be the hassle days of having to deal with that stupid box. If you ever work with media input devices or local shared objects this will make you happy.
Media Permissions was a previous abstraction that is technically no longer needed because of the Settings Panel Proxy. However I think re-purposing that functionality to something more simple is beneficial. You could do something like:
var mp:MediaPermissions = new MediaPermissions (stage);
mp.addEventListener (MediaPermissionsEvent.RESOLVE, onMediaPermissions);
function onMediaPermissions (e:MediaPermissionsEvent):void {
trace ("permission was " + e.code); // 'granted', 'denied', 'noDevice'
}
Anyway. I have been moving forward just fine. I’ll keep you posted.
