android-gpuimage
android-gpuimage copied to clipboard
Camera1Loader with Lollipop or over
Bug Reporting
Camera1Loader in Lollipop or over shows black preview It does not call preview callback.
Steps to Reproduce
- Create emulator with Lollipop or over
- Modify v2.0.3 example code to always use Camera1Loader
- Run app
Actual Results (include screenshots)
Preview is black
Expected Results (include screenshots)
Actual camera preview
URL
OS details
- Device: Emulator (ex. Nexus 5 with Android 9) or real device (Galaxy S4 with Lollipop)
- OS: Lollipop or over
Please add relevant labels When I use v1.4.1 in same devices or emulator, it works fine
yes, i have the same issue
first add preview view and callback will called.
Camera1 must be own SurfaceTexture or SurfaceHolder then can call onPreviewFrame callback, and we also request render all time by self.
cameraInstance.setPreviewTexture(surfaceTexture)