Instance Method

resumeRecording

Resumes recording to the current output file after it was previously paused using pauseRecording.

Declaration

- (void)resumeRecording;

Discussion

This method causes the receiver to resume writing captured samples to the current output file returned by outputFileURL, after recording was previously paused using pauseRecording. This allows you to record multiple media segments that are not contiguous in time to a single file.

In macOS, if this method is called within the captureOutput:didOutputSampleBuffer:fromConnection: delegate method, the first samples written to the current file are guaranteed to be those contained in the sample buffer passed to that method.

See Also

Starting, Stopping, Pausing, and Resuming Playback

- stopRecording

Tells the receiver to stop recording to the current file.

- pauseRecording

Pauses recording to the current output file.