AVError AVError Enum

Definition

An enumeration whose values define various audiovisual errors.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum AVError
type AVError = 
Inheritance
AVErrorAVError
Attributes

Fields

AirPlayControllerRequiresInternet AirPlayControllerRequiresInternet -11856

Indicates that playback failed because the controller lacked necessary internet access.

AirPlayReceiverRequiresInternet AirPlayReceiverRequiresInternet -11857

Indicates that playback failed because the receiver lacked necessary internet access.

ApplicationIsNotAuthorized ApplicationIsNotAuthorized -11836

The application is not authorized.

ApplicationIsNotAuthorizedToUseDevice ApplicationIsNotAuthorizedToUseDevice -11852

Indicates that the application was not authorized on the device.

CompositionTrackSegmentsNotContiguous CompositionTrackSegmentsNotContiguous -11824

Indicates that the source media contained gaps and could not be loaded.

ContentIsNotAuthorized ContentIsNotAuthorized -11835

Indicates that the user is not authorized to play the content.

ContentIsProtected ContentIsProtected -11831

Indicates that the app is not authorized to play the content.

ContentIsUnavailable ContentIsUnavailable -11863
ContentNotUpdated ContentNotUpdated -11866
DecodeFailed DecodeFailed -11821

Indicates that the media data could not be decoded.

DecoderNotFound DecoderNotFound -11833

Indicates that a decoder for the media data could not be found.

DecoderTemporarilyUnavailable DecoderTemporarilyUnavailable -11839

Indicates that the decoder for the media data was unavailable.

DeviceAlreadyUsedByAnotherSession DeviceAlreadyUsedByAnotherSession -11804

Indicates that the device was in use by another session.

DeviceInUseByAnotherApplication DeviceInUseByAnotherApplication -11815

Indicates that the device was in use by another application.

DeviceIsNotAvailableInBackground DeviceIsNotAvailableInBackground -11837

Indicates that the device is not available while the app is backgrounded.

DeviceLockedForConfigurationByAnotherProcess DeviceLockedForConfigurationByAnotherProcess -11817

Indicates that the device is locked for an update or for other configuration.

DeviceNotConnected DeviceNotConnected -11814

Indicates that the device was not connected.

DeviceWasDisconnected DeviceWasDisconnected -11808

Indicates that the device was not connected.

DiskFull DiskFull -11807

Indicates that non-volatile storage was full.

DisplayWasDisabled DisplayWasDisabled -11845

Indicates that the display was disabled.

EncoderNotFound EncoderNotFound -11834

Indicates that a required data encoder was missing.

EncoderTemporarilyUnavailable EncoderTemporarilyUnavailable -11840

Indicates that a required data encoder was unavailable.

ExportFailed ExportFailed -11820

Indicates that data export failed.

FailedToLoadMediaData FailedToLoadMediaData -11849

Indicates taht the media data could not be loaded due to missing required data.

FailedToParse FailedToParse -11829

Indicates that the data could not be parsed.

FailedToParse2 FailedToParse2 -11853

Indicates that the data could not be parsed.

FileAlreadyExists FileAlreadyExists -11823

Indicates that data could not be written because the output file already exists.

FileTypeDoesNotSupportSampleReferences FileTypeDoesNotSupportSampleReferences -11854

Indicates that the file type does not support sample references.

FormatNotRecognized FormatNotRecognized -11828

Indicates that the media was in an urecognizable format and could therefore not be opened.

FormatUnsupported FormatUnsupported -11864
IncompatibleAsset IncompatibleAsset -11848

Indicates that the media format is not supported by the device.

InvalidCompositionTrackSegmentDuration InvalidCompositionTrackSegmentDuration -11825

Indicates that the source media's play duration on the device was not valid.

InvalidCompositionTrackSegmentSourceDuration InvalidCompositionTrackSegmentSourceDuration -11827

Indicates that the source media had no duration set.

InvalidCompositionTrackSegmentSourceStartTime InvalidCompositionTrackSegmentSourceStartTime -11826

Indicates that the source media could not be opened because a track start time was not valid.

InvalidOutputURLPathExtension InvalidOutputURLPathExtension -11843

Indicates that the ouptut path contained an invalid extension.

InvalidSourceMedia InvalidSourceMedia -11822

Indicates that the source media was not valid.

InvalidVideoComposition InvalidVideoComposition -11841

Indicates that a video composition operation was not valid.

MalformedDepth MalformedDepth -11865
MaximumDurationReached MaximumDurationReached -11810

Indicates that the maximum allowable recording duration was reached.

MaximumFileSizeReached MaximumFileSizeReached -11811

Indicates that the maximum allowable output file size was reached.

MaximumNumberOfSamplesForFileFormatReached MaximumNumberOfSamplesForFileFormatReached -11813

Indicates that the maximum number of samples was reached for the output file.

MaximumStillImageCaptureRequestsExceeded MaximumStillImageCaptureRequestsExceeded -11830

Indicates that the maximum number of still images was reached for the output file.

MediaChanged MediaChanged -11809

Indicates that the recording source media changed.

MediaDiscontinuity MediaDiscontinuity -11812

Indicates that the source data was interrupted.

MediaServicesWereReset MediaServicesWereReset -11819

Indicates that media services were reset.

NoCompatibleAlternatesForExternalDisplay NoCompatibleAlternatesForExternalDisplay -11868
NoDataCaptured NoDataCaptured -11805

Indicates that no data was sent to the recording session.

NoImageAtTime NoImageAtTime -11832

Indicates that playback failed because no image was present at a specified time.

NoLongerPlayable NoLongerPlayable -11867
NoSourceTrack NoSourceTrack -11869
OperationInterrupted OperationInterrupted -11847

Indicates that an operation was interrupted.

OperationNotAllowed OperationNotAllowed -11862

Indicates that a disallowed operation was attempted.

OperationNotSupportedForAsset OperationNotSupportedForAsset -11838

Indicates that an operation that was not supported on a specific asset or asset type was attempted.

OutOfMemory OutOfMemory -11801

Indicates that system memory became full.

RecordingAlreadyInProgress RecordingAlreadyInProgress -11859

Indicates that an attempt was made to start a recording while another was in progress.

ReferenceForbiddenByReferencePolicy ReferenceForbiddenByReferencePolicy -11842

Indicates that an attempt was made to follow a reference for which authorization was lacking.

ScreenCaptureFailed ScreenCaptureFailed -11844

Indicates that the screen could not be captured.

ServerIncorrectlyConfigured ServerIncorrectlyConfigured -11850

Indicates that the media server is not correctly configured.

SessionConfigurationChanged SessionConfigurationChanged -11806

Indicates that the recording session configuration was changed.

SessionNotRunning SessionNotRunning -11803

Indicates that no data was received because the session was not running.

SessionWasInterrupted SessionWasInterrupted -11818

Indicates that the recording sesion was interrupted.

TorchLevelUnavailable TorchLevelUnavailable -11846

Indicates that a torch level was unavailable, possibly due to overheating.

UndecodableMediaData UndecodableMediaData -11855

Indicates that the media data was corrupted.

Unknown Unknown -11800

Indicates that an unknown error occurred.

UnsupportedOutputSettings UnsupportedOutputSettings -11861

Indicates that the output settings were not supported.

VideoCompositorFailed VideoCompositorFailed -11858

Indicates that a video compositor failed.

Applies to