Instance Property

audioSettings

A dictionary containing the values to use when creating an asset writer input.

Declaration

var audioSettings: [String : Any]? { get }

Discussion

The value of this property may change as a result of setting a new value for the sourceAudioFormat property. See Audio Settings and Formats for keys and values.

This property does not support Key-value observing.

See Also

Configuring Output Settings

var outputFileType: AVFileType

A UTI indicating the type of file to write.

var sourceAudioFormat: CMAudioFormatDescription?

The format of the audio data when determining the audio settings to use.

var sourceVideoAverageFrameDuration: CMTime

A time describing the average frame duration of the video data.

var sourceVideoFormat: CMVideoFormatDescription?

A core media video format description object that defines the video format.

var videoSettings: [String : Any]?

A dictionary containing the values to use when creating an asset writer input.

var sourceVideoMinFrameDuration: CMTime

A time describing the minimum frame duration of the video data.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software