preferredOutputSegmentInterval
The interval of output segments that you prefer.
Declaration
var preferredOutputSegmentInterval: CMTime { get set }Discussion
The default value is invalid, which indicates that the asset writer chooses an appropriate default value. You may also set a positive numeric or indefinite time. When the value is indefinite, each call you make to flushSegment() outputs a segment data.
You can’t change this value after writing starts.