Instance Property

maxRecordedFileSize

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

Declaration

@property(nonatomic) int64_t maxRecordedFileSize;

Discussion

This property specifies a hard limit on the data size 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 0, which indicates no limit.

See Also

Setting File Output Properties

delegate

The delegate object for the capture file output.

maxRecordedDuration

The longest duration allowed for the recording.

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.