Instance Property

mediaType

A constant describing the media type of an AVCaptureDevice active or supported format.

Declaration

var mediaType: AVMediaType { get }

Discussion

Supported media types are listed in Media Types.

See Also

Determining Supported Media Formats

var formatDescription: CMFormatDescription

An object describing the capture format.

var isVideoHDRSupported: Bool

A Boolean value that indicates whether the format supports high dynamic range streaming.

var unsupportedCaptureOutputClasses: [AnyClass]

The list of AVCaptureOutput subclasses not allowed for capture with this format, if any.

var highResolutionStillImageDimensions: CMVideoDimensions

The highest resolution still image that can be produced by this format.