Hi,
Great code. Not sure if you're still visiting this but i'm finding that the getFrameFromPreview is only called for the last camera created. Either front or back so the video can't be written.
I'm using a Samsung Galaxy S4 running android 28. I see you had a video of it working so wondering if it's my device that won't allow multiple onPreviewFrame?
Hi,
Great code. Not sure if you're still visiting this but i'm finding that the getFrameFromPreview is only called for the last camera created. Either front or back so the video can't be written.
I'm using a Samsung Galaxy S4 running android 28. I see you had a video of it working so wondering if it's my device that won't allow multiple onPreviewFrame?