Open LiveInParadise opened 1 year ago
I don't think we experimented with CameraX yet. @IanDBird can you take a look when you get a moment?
Hey 👋 Curious how you're integrating LiTr + CameraX. The current changes I landed recently really only support Camera2 as the API is more flexible about where the camera is rendering too. I have looked into proper CameraX support and was considering moving it to a separate module (since it requires a fair amount of dependencies).
If you're able to share how you're attaching CameraX, then happy to see if I can suggest a short term workaround until native support is ready?
This error happens in CameraX only when LiTr library doing compress
Receiving this error -
androidx.camera.video.internal.ResourceCreationException: androidx.camera.video.internal.encoder.InvalidConfigException: android.media.MediaCodec$CodecException: Error 0xffffec77
Here is a full log stack
This is how I'm creating MediaFormat
CameraX Recorder class has simple create method where I set highest supported quality -
Can reproduce this on Samsung SM-J710FQ with Android 8
litr version - 1.5.4 CameraX - 1.2.1
What problem can it be?