Instance Property

preferredVolume

The preferred volume level for storing in the output file.

Declaration

var preferredVolume: Float { get set }

Discussion

The value for this property should typically be in the range of 0.0 to 1.0.

The default value is 1.0, which is equivalent to a “normal” volume level.

See Also

Configuring a Writer Input

var metadata: [AVMetadataItem]

The collection of track-level metadata to associate with the asset and for carriage in the output file.

var transform: CGAffineTransform

The transform specified in the output file as the preferred transformation of the visual media data for display purposes.

var mediaTimeScale: CMTimeScale

Specifies the media time scale to be used.

var expectsMediaDataInRealTime: Bool

A Boolean value that indicates whether the input should tailor its processing of media data for real-time sources.

var marksOutputTrackAsEnabled: Bool

Returns whether the receiver’s track is enabled.

var naturalSize: CGSize

Size specified in the output file as the natural dimensions of the visual media data for display.