Open ismaelsousa opened 3 months ago
Maybe related to #2866
android.media.MediaCodec.getBuffer(Native Method)
seems really similar to that unsupported codec discussion from another day for camera X, have you tried to play with h264 and different camera resolutions?
it's using the h264
Hmm interesting. CameraX is always h264. Might be a CameraX bug, I'll try to upgrade versions soon and see if that fixes anything.
Thanks for reporting!
How long do you have to record before it crashes?
I usually record 3 videos with 2-3m but my device has just 4 GB of RAM (max ~ 1.5GB available)
What's happening?
While recording the camera is consuming all memory and not releasing it.
Reproduceable Code
Relevant log output
Camera Device
Device
MOTO G52
VisionCamera Version
Latest shadow lens
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information