I’m working on an app and there is a bug that happens only on devices; in the simulator everything seems to go smoothly. I already asked another question with the exact issue and some code, but in case that doesn’t produce any results I would like to learn more about how I can go about debugging (and fixing) this sort of problem.
Share
The fact that it works for a bit and then stops suggests some kind of resource bottleneck.
Perhaps there is a memory leak, perhaps you are not freeing all the resources that you allocated when switching from one video stream to another?
You can track your resource utilization to see if this in fact could be the issue.