Hi,
I am trying to set up a continuous stream (rather than 5 seconds of streaming then quit) by modifying the multiStream sample.
I am using the following code:
// Create the capture requests.
UniqueObj request(iCaptureSession->createRequest());
IRequest *iRequest = interface_cast(request);
iRequest->enableOutputStream(previewStream.get());
//Set repeated capture
while (1) {
iCaptureSession->repeat(&request);
}
But when I compile it, it gives me an error message no matching function for call to ‘Argus::ICaptureSession::repeat(Argus::UniqueObjArgus::Request*).
My questions are below:
- How do you correctly set up a repeated capture request so that the program just runs continuously?
- How do you force quit a script/program running from terminal? I tried ctrl + c but it didn’t do anything.
Thanks!