Forum Discussion
SpacePogona
6 months agoMHCP Member
[Quest 3] Accessing Camera via Android Camera2 API - Process Succeeds but Image is Black
Hello everyone, I'm developing a native Android application (integrated with Unreal Engine) for the Meta Quest 3. My goal is to programmatically capture a still image from the passthrough camera usi...
VirtuallyARealDinosaur
6 months agoCommunity Manager
Hello!
I possibly have a solution for you.
As a workaround, I can suggest waiting for about 100ms after the onConfigured callback before createCaptureRequest.
If waiting for an arbitrary amount of time doesn't feel right, it's also possible to retry the createCaptureRequest until the first non-black frame appears.
This may help. Please let me know if it does either by responding to my comment or by marking my comment as a solution.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 2 months ago
- 27 days ago
- 1 year ago