I have to process frames which are captured by iPhone camera using my c++ functions. So I use startRunning()
function to start the flow of data, but in what way I can process each frame?
Yes, it is pretty straight forward. You need to
For more information you can read this part of the AVFoundation Programming Guide. The code samples are in Objective-C not swift but i think you get the idea.