-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 AVFoundationError -11819 #3245
Comments
Guten Tag, Hans here 🍻 Thanks for reporting ze issue! It looks like you’ve already provided some helpful information, but we do need a bit more to help you effectively. Could you please confirm if you are able to reproduce zis issue in ze VisionCamera Example app? It’s important to test zis, as it can help narrow down if it’s an issue with your implementation or ze library itself. Also, please make sure to provide any relevant logs from Xcode, as they can be very useful in diagnosing ze problem. You can find ze logs in Xcode's Output window while running your app. If you have not tried these steps yet, I recommend doing so, and if ze problem persists, we can take a deeper look together. Danke!
|
Hey! I have the same issue in Sentry (400+ times, 150+ users), cannot reproduce in dev though. I'm using code scanner const device = useCameraDevice('back', {
physicalDevices: [
'ultra-wide-angle-camera',
'telephoto-camera',
'wide-angle-camera',
],
});
const format =
device &&
getCameraFormat(device, [
{fps: 20},
{videoAspectRatio: screenAspectRatio},
{videoResolution: 'max'},
{photoAspectRatio: screenAspectRatio},
{photoResolution: 'max'},
{autoFocusSystem: 'contrast-detection'},
]); <GestureDetector gesture={tap}>
<Camera
format={format}
zoom={device.neutralZoom}
device={device}
ref={cameraRef}
isActive={isActive}
onError={onError}
codeScanner={codeScanner}
/>
</GestureDetector> {
"id": "com.apple.avfoundation.avcapturedevice.built-in_video:7",
"maxZoom": 123.75,
"sensorOrientation": "portrait",
"minFocusDistance": 2,
"position": "back",
"formats": [],
"supportsFocus": true,
"supportsRawCapture": false,
"neutralZoom": 2,
"physicalDevices": [
"ultra-wide-angle-camera",
"wide-angle-camera",
"telephoto-camera"
],
"hardwareLevel": "full",
"isMultiCam": true,
"hasTorch": true,
"supportsLowLightBoost": false,
"maxExposure": 8,
"name": "Rear triple camera",
"hasFlash": true,
"minExposure": -8,
"minZoom": 1
} "react-native-vision-camera": "^4.5.2",
"react-native": "^0.75.4" @tgreco Did you manage to find a solution? |
No solution as of yet unfortunately |
What's happening?
When taking a photo randomly I get this error thrown.
Reproduceable Code
Relevant log output
If I try to print the error description I get this nonsense:
Camera Device
Device
iPhone 16 - ios 18.1
VisionCamera Version
4.5.3
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information
The text was updated successfully, but these errors were encountered: