Enumeration Case

AVErrorNoLongerPlayable

The asset is no longer playable.

Declaration

AVErrorNoLongerPlayable = -11867

See Also

Error Codes

AVErrorAirPlayControllerRequiresInternet

The AirPlay controller requires internet to function.

AVErrorAirPlayReceiverRequiresInternet

The AirPlay receiver requires internet to function.

AVErrorApplicationIsNotAuthorized

The application is not authorized to play media.

AVErrorApplicationIsNotAuthorizedToUseDevice

The user has denied this application permission for media capture.

AVErrorCompositionTrackSegmentsNotContiguous

The source media can’t be added because it contains gaps.

AVErrorContentIsNotAuthorized

The user is not authorized to play the media.

AVErrorContentIsProtected

The application is not authorized to open the media.

AVErrorContentIsUnavailable

Captured content is unavailable.

AVErrorContentNotUpdated

Captured content couldn’t be updated.

AVErrorCreateContentKeyRequestFailed

The app couldn’t create a content key request.

AVErrorDecodeFailed

The decoding of the source media failed.

AVErrorDecoderNotFound

The decoder for the given media was not found.

AVErrorDecoderTemporarilyUnavailable

The appropriate decoder is currently not available.

AVErrorDeviceAlreadyUsedByAnotherSession

The device is already in use by another session.

AVErrorDeviceInUseByAnotherApplication

The device could not be opened because it is in use by another application.

AVErrorDeviceIsNotAvailableInBackground

You attempted to start a capture session in the background, which is not allowed on iOS.

Deprecated
AVErrorDeviceLockedForConfigurationByAnotherProcess

You cannot change the settings for the device because another app process is controlling the device.

AVErrorDeviceNotConnected

The device could not be opened because it is not connected or turned on.

AVErrorDeviceWasDisconnected

Recording stopped because the device was turned off or disconnected.

AVErrorDiskFull

Recording stopped because the disk is getting full.

AVErrorDisplayWasDisabled

Screen capture failed because the display was inactive.

AVErrorEncoderNotFound

The requested encoder was not found.

AVErrorEncoderTemporarilyUnavailable

The appropriate encoder is currently not available.

AVErrorExportFailed

The export was unable to finish successfully.

AVErrorExternalPlaybackNotSupportedForAsset

The current asset doesn’t support playback.

AVErrorFailedToLoadMediaData

The media resource does not contain all of the data required and cannot be loaded.

AVErrorFailedToParse

AVFoundation couldn’t parse the media.

AVErrorFileAlreadyExists

The file could not be created because a file with the same name already exists in the same location.

AVErrorFileFailedToParse

The media could not be opened because the file is damaged or not in a recognized format.

AVErrorFileFormatNotRecognized

The media could not be opened because it is not in a recognized format.

AVErrorFileTypeDoesNotSupportSampleReferences

The file type doesn’t support sample references.

AVErrorFormatUnsupported

The current asset format isn’t supported.

AVErrorIncompatibleAsset

You cannot display the media because the iOS device is not capable of playing the content.

AVErrorInvalidCompositionTrackSegmentDuration

You cannot add the source media because its duration in the destination is invalid.

AVErrorInvalidCompositionTrackSegmentSourceDuration

You can’t add the source media because it has no duration.

AVErrorInvalidCompositionTrackSegmentSourceStartTime

You can’t add the source media because its start time in the destination is invalid.

AVErrorInvalidOutputURLPathExtension

The path extension of the URL was invalid.

AVErrorInvalidSourceMedia

The operation could not complete because some source media could not be read.

AVErrorInvalidVideoComposition

You attempted to perform a video composition operation that is not supported.

AVErrorMalformedDepth

The depth data wasn’t properly structured.

AVErrorMaximumDurationReached

Recording stopped because the maximum duration for the file was reached.

AVErrorMaximumFileSizeReached

Recording stopped because the maximum size for the file was reached.

AVErrorMaximumNumberOfSamplesForFileFormatReached

Recording stopped because the maximum number of samples for the file was reached.

AVErrorMaximumStillImageCaptureRequestsExceeded

The photo could not be taken because there are too many photo requests that haven’t completed yet.

AVErrorMediaChanged

Recording stopped because the format of the source media changed.

AVErrorMediaDiscontinuity

Recording stopped because there was an interruption in the input media.

AVErrorMediaServicesWereReset

The operation could not be completed because media services became unavailable.

AVErrorNoCompatibleAlternatesForExternalDisplay

No compatible external displays were found.

AVErrorNoDataCaptured

Recording failed because no data was received.

AVErrorNoImageAtTime

There is no image at that time in the media.

AVErrorNoSourceTrack

The asset has no source track.

AVErrorOperationInterrupted

An interruption occurred while an AVAssetWriter, AVAssetReader or AVAssetExportSession was executing.

AVErrorOperationNotAllowed

The user requested an unsupported operation.

AVErrorOperationNotSupportedForAsset

You attempted to perform an operation with the asset that is not supported.

AVErrorOperationNotSupportedForPreset

You attempted to perform an operation that’s not supported for the current preset.

AVErrorOutOfMemory

The operation could not be completed because there is not enough memory to process all of the media.

AVErrorRecordingAlreadyInProgress

Movie file output on iOS supports only one recording at a time.

AVErrorReferenceForbiddenByReferencePolicy

You attempted to perform an operation with the asset that attempted to follow a reference that was not allowed.

AVErrorScreenCaptureFailed

There was an unexpected problem that prevented screen capture.

AVErrorServerIncorrectlyConfigured

The HTTP server sending the media resource is not configured as expected.

AVErrorSessionConfigurationChanged

Recording stopped because the configuration of media sources and destinations changed.

AVErrorSessionHardwareCostOverage

You requested too many camera hardware resources.

AVErrorSessionNotRunning

Recording could not start because the session isn’t running.

AVErrorSessionWasInterrupted

Recording stopped because it was interrupted.

AVErrorTorchLevelUnavailable

The specified torch level is valid but currently unavailable, possibly due to overheating.

AVErrorUndecodableMediaData

The media data could not be decoded.

AVErrorUnknown

Reason for the error is unknown.

AVErrorUnsupportedDeviceActiveFormat

The device’s active format is not supported for the requested action.

AVErrorUnsupportedOutputSettings

The user requested unsupported output settings.

AVErrorVideoCompositorFailed

The video compositor couldn’t composite frames.