examples
examples copied to clipboard
Dispatch Queue
The app crashed when running the SetupAVCapture function.
To fix, replace: self.videoDataOutputQueue = dispatch_queue_create("VideoDataOutputQueue", DISPATCH_QUEUE_SERIAL);
With: dispatch_queue_t temp = dispatch_queue_create("VideoDataOutputQueue", DISPATCH_QUEUE_SERIAL); self.videoDataOutputQueue = temp;
Thanks @declanland ! I was struggling as to how to make the sample work and you just saved my day!