maxRecordedDuration
The longest duration allowed for the recording.
Declaration
var maxRecordedDuration: CMTime { get set }Discussion
This property specifies a hard limit on the duration of recorded files. Recording is stopped when the limit is reached and the fileOutput(_:didFinishRecordingTo:from:error:) delegate method is invoked with an appropriate error. The default value of this property is invalid, which indicates no limit.