Ask Your Question

Revision history [back]

Does the VideoCapture object work with iOS?

I am trying the following code:

VideoCapture cap;

NSString* pathToInputFile = @"http://plazacam.studentaffairs.duke.edu/mjpg/video.mjpg";
if (cap.open(std::string([pathToInputFile UTF8String]))) {

The VideoCapture object fails to open. Is remote video capture of IP cameras possible for iOS devices using the VideoCapture object?

Thanks!