I’m just not sure. It’s really hard to troubleshoot without the code and my lack of experience with the camera API.
Can you look through these posts to see if they help: