-
-
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
🐛 OnePlus 8T on 3.7.0 configure_streams() Invalid argument(s) for configure_streams() #2376
Comments
Hey! Did you remove some logs? There's nothing in there about VisionCamera creating a new CameraSession? 🤔 |
@mrousavy I did not but maybe the logcat filters are too restrictive?
Do you have a set of filters to recommend? Isn't this part:
with |
Try setting |
Hey @mgcrea - did you try that? |
@mrousavy unfortunately I don't have the device on hand (it's not mine), but will try to re-test ASAP when I pair with the dev using it! |
Okay yea please let me know then. I don't want this to become a stale issue |
@mrousavy it does indeed work properly when setting However when trying to use a custom frame processor along
Fresh adb dump: |
Working on a fix for this issue here: #2494 👀 Still in development, so don't test yet. Long way to go, this is a really complicated issue (as you can see in the changes/Files of that PR)... |
@mgcrea can you try with 3.9.beta-0? |
We get a systematic black screen on first display, but it ends up working when we toggle the With First load (black screen):
After fast refresh toggling format:
|
Okay yeah I think this is one of the outputs. |
Just released VisionCamera 3.9.0-beta.1, which includes the big You can try that new beta out yourself and let me know if you still encounter blackscreen issues. I'll continue to test on more devices in the meantime, organize the code a bit better, and then I'll tackle the preview stretching, focus, and flash issues! If that fixes the blackscreen issues for you, please consider sponsoring me on GitHub to say thanks! ❤️ |
What's happening?
I have encountered issues with this device (OnePlus 8T running Android 13) in the past (see. #1947 (comment)) that used to reboot or freeze when trying to activate the Camera.
With the 3.7.0 release the behaviour changed and it might help find the root issue. What is peculiar is that the camera works fine when using the
codeScanner
prop but fails to start (blacked-out) as soon as I remove the prop. So it looks like the default set of options does not work but somehow the code scanner changes the format to something that is working fine.I've used
adb logcat '*:S *:E ReactNative:V ReactNativeJS:V VisionCameraProxy:V'
to generate relevant logs.Reproduceable Code
Relevant log output
Camera Device
@TODO (don't have the device directly on hand at the moment but will update asap).
Device
OnePlus 8T
VisionCamera Version
3.7.0
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
The text was updated successfully, but these errors were encountered: