-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
🐛 [session/invalid-output-configuration]
: Cannot create session on some Xiaomi phones
#2862
Comments
It was able to resolve this issue by rolling back to version 3.9.2. |
Might be related. #2777 |
[session/invalid-output-configuration]
: Cannot create session on some Xiaomi phones
@iqbaldev46 thank you so much! This solves my problem |
Having the same issue on RedMi Note 7 Pro with Android 11 "react-native-vision-camera": "^4.0.3", |
Hey - just created a PR that maybe fixes this - can you test if that works for you? #2897 🙏 |
Hi, I'm still getting this error on my Android test device, Samsung Galaxy S21. I'm using the latest version 4.0.5. I'm using the prop
Camera device
Is there any information that would help debug this issue that I should provide? Thanks |
@samuelbeaulieu are you using useSkiaFrameProcessor? I am wondering if this has something to do with trying to use SkiaFrameProcessor in combination with the camera. I start getting a similar error only when I try to implement photo={true} in combination with SkiaFrameProcessor. My camera stops opening and I get the following log: ![]() |
I am not using |
I have the same problem with "react-native-vision-camera": "^4.3.2" and "react-native": "0.74.2" |
I solved the error by passing the prop:
Note: The property without braces "{}" |
I get this error sporadically in development (Expo development client) on Pixel 6a using 4.5.1. It rarely occurs and may only happen during a refresh. Reloading the app manually and going to the camera view doesn't seem to trigger it. I have not specified the |
I've been facing the issue on the Pixel 8 Pro. I have tried both
|
I'm also hitting this same issue and it is happening with |
I solved this by adding the following: const [isCameraActive, setIsCameraActive] = useState(true);
|
What's happening?
Camera.onError(session/invalid-output-configuration): Failed to configure the Camera Session because the output/stream configurations are invalid! [session/invalid-output-configuration: Failed to configure the Camera Session because the output/stream configurations are invalid!]
Reproduceable Code
Relevant log output
Camera Device
Device
Android 10, 11, 12 (Especially on Xiaomi phones)
VisionCamera Version
4.0.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: