Remember this?
Here is what’s new with the Camera Native Extension:
- Fixed a memory leak in applyFilters(), reported by our DiaDraw.com reader decapyre.
- Improved thread synchronisation.
- Introduced a separate frame rate for consuming frames (see REFRESH_RATE_FRAMES_PER_SECOND in CameraTestAppHomeView.mxml).
- Introduced NativeCameraExtensionEvent.CAMERA_STARTED to signal when the camera is ready to produce frames.
- The byte order in the frame ByteArray is now taken care of by the ANE.
- Note: getFrameBuffer()’s signature has changed:
public function getFrameBuffer( _bufferData : ByteArray, _lastFrameIndex : Number, _previewFrameSize : Point ) : Number
Download the ANE
April 2014 update: We have turned this project into a step-by-step tutorial with complete source code. Check it out on our new website, EasyNativeExtensions.com.
Want more functionality and Android support?
Check out our DiaDraw Native Camera Driver.