Contents

resumeRecording()

Resumes recording to the current output file after it was previously paused using Pauserecording().

Declaration

func 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

Related Documentation

Managing recording