Type Method

isPlayableExtendedMIMEType:

Returns a Boolean value that indicates whether the asset is playable with the given codec(s) and container type.

Declaration

+ (BOOL)isPlayableExtendedMIMEType:(NSString *)extendedMIMEType;

Parameters

extendedMIMEType

An extended MIME type string such as video/3gpp2; codecs="mp4v.20.9, mp4a.E1" or audio/aac; codecs="mp4a.E1".

Return Value

YES if the asset is playable with the codec(s) and container type specified in extendedMIMEType, otherwise NO.

See Also

Getting Supported Media Types

+ audiovisualMIMETypes

Returns an array of the MIME types the AVURLAsset class supports.

+ audiovisualTypes

Returns an array of the file types the AVURLAsset class supports.