CoreMedia Namespace

The CoreMedia namespace provides low-level classes for managing and playing audio and video.

Classes

CMAttachmentBearer

Static and extension methods for objects that can bear attachments.

CMAudioFormatDescription

A CMFormatDescription that describes an audio format.

CMBlockBuffer

A contiguous range of data offsets over a possibly non-contiguous memory region.

CMBufferQueue

CoreMedia Buffer Queue.

CMClock

A source of time information, such as the system clock.

CMClockOrTimebase

The base class for CMClock and CMTimebase.

CMCustomBlockAllocator
CMFormatDescription

Describes media data for audio, video, text and time codes

CMHevcTemporalLevelInfoSettings
CMMemoryPool

Class that manages the repetitive allocation and deallocation of large blocks of memory.

CMSampleBuffer

A container of zero-or-more samples of a particular media type.

CMSampleBufferAttachmentSettings

The keys for CMSampleBuffer attachments.

CMTextMarkupAttributes

Manages the attributes used by AVTextStyleRule.

CMTimebase

Encapsulates an application-controlled timeline.

CMVideoFormatDescription

A CMFormatDescription that describes video.

Structs

CMSampleTimingInfo

Timing information for a CMSampleBuffer.

CMTime

A time value that represents a rational number Value/P:CoreMedia.CMTime.Timescale.

CMTimeMapping

Specifies a mapping between a source CMTimeRange and a target CMTimeRange.

CMTimeRange

A duration of time.

CMTimeScale

A value to be used as a denominator in a CMTime calculation.

CMVideoDimensions

Struct that contains the width and height of video media.

TextMarkupColor

A color to be used with BackgroundColor and ForegroundColor.

Interfaces

ICMAttachmentBearer

Marker interface for type that can bear attachments.

Enums

CMAttachmentMode

Enumerates attachment propagation policies.

CMBlockBufferError

An enumeration whose values specify errors relating to CMBlockBuffers.

CMBlockBufferFlags

An enumeration of flags to be used with CreateEmpty(UInt32, CMBlockBufferFlags, CMBlockBufferError).

CMBufferQueue.TriggerCondition

Enumerates trigger conditions for a buffer queue trigger.

CMClockError

An enumeration whose values specify errors relating to CMClocks.

CMClosedCaptionFormatType

An enumeration whose values specify a closed-captioning standard.

CMFormatDescriptionError

An enumeration whose values specify errors relating to CMFormatDescriptions.

CMMediaType

An enumeration whose values specify valid types of media.

CMMetadataFormatType

An enumeration whose values specify types of timed metadata.

CMMuxedStreamType

An enumeration whose values specify valid types of multiplexed media.

CMPixelFormat

Enumerates pixel formats.

CMSampleBufferError

An enumeration whose values specify errors relating to CMSampleBuffers.

CMSubtitleFormatType

An enumeration whose values specify a subtitling standard.

CMSyncError

An enumeration whose values specify errors returned by GetRelativeRateAndAnchorTime(CMClockOrTimebase, CMClockOrTimebase, Double, CMTime, CMTime).

CMTime.Flags

An enumeration whose values are flags used by CMTime.

CMTimebaseError

An enumeration whose values specify errors relating to CMTimebases.

CMTimeCodeFormatType

An enumeration whose values specify the type of a time code.

CMTimeRoundingMethod

An enumeration whose values specify the rounding method to be used with a CMTime.

CMVideoCodecType

An enumeration whose values specify types of video codecs.

LensStabilizationStatus

Delegates

CMBufferCompare

Delegate signature to compare two CoreFoundation objects, used to sort objects in a CMBufferQueue.

CMBufferGetBool

Delegate signature to determine if the specified buffer that is about to be dequeued is ready.

CMBufferGetSize

Delegate for getting media buffer sizes.

CMBufferGetTime

Returns the CMTime object for the specified buffer.