patrickdelconte
11/20/2024, 1:35 PMAVCaptureVideoDataOutputSampleBufferDelegate
to hang (its methods are no longer called). This issue I was able to fix by calling GC.collect(). Now I face the next problem: I'm doing a database lookup with the extracted text which sometimes works and sometimes causes the same issue (delegate hangs). I get no logs (other than that the database lookup suceeded etc.). Presumably the thread/queue or delegate died again. How can I gain insight into what happens when it hangs?patrickdelconte
11/20/2024, 1:37 PMpatrickdelconte
11/23/2024, 8:31 PMAVCaptureVideoDataOutputSampleBufferDelegate
immediately and drop the current frame if the last one is still processing.