1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

macOS: Set isRecording flag when recording camera capture to a file

This commit is contained in:
ed 2019-01-25 11:23:34 +00:00
parent 3ed17dea2a
commit 1a0e681c41

View file

@ -143,6 +143,7 @@ struct CameraDevice::Pimpl
firstPresentationTime = Time::getCurrentTime();
file.deleteFile();
isRecording = true;
[fileOutput startRecordingToOutputFileURL: createNSURLFromFile (file)
recordingDelegate: callbackDelegate];
}