Instance Property

maxRecordedDuration

The longest duration allowed for the recording.

Declaration

@property(nonatomic) CMTime maxRecordedDuration;

Discussion

This property specifies a hard limit on the duration of recorded files. Recording is stopped when the limit is reached and the captureOutput:didFinishRecordingToOutputFileAtURL:fromConnections:error: delegate method is invoked with an appropriate error. The default value of this property is kCMTimeInvalid, which indicates no limit.

See Also

Setting File Output Properties

delegate

The delegate object for the capture file output.

maxRecordedFileSize

The maximum size, in bytes, of the data that should be recorded by the receiver.

minFreeDiskSpaceLimit

The minimum amount of free space, in bytes, required for recording to continue on a given volume.

outputFileURL

The URL to which output is directed.

recordedDuration

Indicates the duration of the media recorded to the current output file.

recordedFileSize

Indicates the size, in bytes, of the data recorded to the current output file.

recording

Indicates whether recording is in progress.

recordingPaused

Indicates whether recording to the current output file is paused.