Closed cwnuk-lfl closed 5 months ago
Hey @cwnuk-lfl , I've got inline responses below:
This previously worked as expected on this device, but the behavior changed when we upgraded to the latest version of Android available on the device. Other devices we have tested (see below) have not exhibited this issue, but do not seem to have the same OS updates available to them yet.
This is gonna be a tough one to find a workaround for, given that it's both device- and OS-version-specific.
When we start the camera, we are seeing this spamming the console in logcat on the Pixel 6: 2023/07/05 13:48:46.260 31104 31278 Error ACameraMetadata getConstEntry: cannot find metadata tag 65568 This log message does not seem to appear on devices without the issue.
I don't think this is related. Metadata tag 65568
should correspond to ACAMERA_CONTROL_AF_STATE
(i.e. autofocus state).
A quick diagnostic to run is to check the cameraDevice.frontFacing
of the front camera on the Pixel 6. If that value is incorrect, then that would both be the culprit and the place to build a workaround.
Hi @olokobayusuf thank you very much for the response! cameraDevice.frontFacing
is reporting as true.
@cwnuk-lfl this is going to be pretty involved to investigate and potentially fix. Shoot me an email to discuss further.
Thanks @olokobayusuf - emailed you at that address.
NatDevice has officially been deprecated, as it has been merged into VideoKit. I'm moving this issue to the VideoKit repo.
While we haven't added an explicit fix for this issue, we've exposed new APIs that will allow developers to write a workaround. Feel free to follow up for more info on doing this.
On the Pixel 6, we are seeing the front facing camera image rotated 90 degrees counter clockwise.
This previously worked as expected on this device, but the behavior changed when we upgraded to the latest version of Android available on the device. Other devices we have tested (see below) have not exhibited this issue, but do not seem to have the same OS updates available to them yet.
When we start the camera, we are seeing this spamming the console in logcat on the Pixel 6:
2023/07/05 13:48:46.260 31104 31278 Error ACameraMetadata getConstEntry: cannot find metadata tag 65568
This log message does not seem to appear on devices without the issue.Consistent across all below tests:
Configurations tested, where the issue does occur:
Configurations tested, where the issue does not occur:
Mac & Windows in editor working as expected
iPhone 13 Pro & other iOS devices working as expected