No compatible external displays were found.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
Framework
- AVFoundation
Declaration
case noCompatibleAlternatesForExternalDisplay = -11868
No compatible external displays were found.
SDKs
Framework
case noCompatibleAlternatesForExternalDisplay = -11868
case air Play Controller Requires Internet
The AirPlay controller requires internet to function.
case air Play Receiver Requires Internet
The AirPlay receiver requires internet to function.
case application Is Not Authorized
The application is not authorized to play media.
case application Is Not Authorized To Use Device
The user has denied this application permission for media capture.
case composition Track Segments Not Contiguous
The source media can’t be added because it contains gaps.
case content Is Not Authorized
The user is not authorized to play the media.
case content Is Protected
The application is not authorized to open the media.
case content Is Unavailable
Captured content is unavailable.
case content Not Updated
Captured content couldn’t be updated.
case create Content Key Request Failed
The app couldn’t create a content key request.
case decode Failed
The decoding of the source media failed.
case decoder Not Found
The decoder for the given media was not found.
case decoder Temporarily Unavailable
The appropriate decoder is currently not available.
case device Already Used By Another Session
The device is already in use by another session.
case device In Use By Another Application
The device could not be opened because it is in use by another application.
case device Is Not Available In Background
You attempted to start a capture session in the background, which is not allowed on iOS.
case device Locked For Configuration By Another Process
You cannot change the settings for the device because another app process is controlling the device.
case device Not Connected
The device could not be opened because it is not connected or turned on.
case device Was Disconnected
Recording stopped because the device was turned off or disconnected.
case disk Full
Recording stopped because the disk is getting full.
case display Was Disabled
Screen capture failed because the display was inactive.
case encoder Not Found
The requested encoder was not found.
case encoder Temporarily Unavailable
The appropriate encoder is currently not available.
case export Failed
The export was unable to finish successfully.
case external Playback Not Supported For Asset
The current asset doesn’t support playback.
case failed To Load Media Data
The media resource does not contain all of the data required and cannot be loaded.
case failed To Parse
AVFoundation couldn’t parse the media.
case file Already Exists
The file could not be created because a file with the same name already exists in the same location.
case file Failed To Parse
The media could not be opened because the file is damaged or not in a recognized format.
case file Format Not Recognized
The media could not be opened because it is not in a recognized format.
case file Type Does Not Support Sample References
The file type doesn’t support sample references.
case format Unsupported
The current asset format isn’t supported.
case incompatible Asset
You cannot display the media because the iOS device is not capable of playing the content.
case invalid Composition Track Segment Duration
You cannot add the source media because its duration in the destination is invalid.
case invalid Composition Track Segment Source Duration
You can’t add the source media because it has no duration.
case invalid Composition Track Segment Source Start Time
You can’t add the source media because its start time in the destination is invalid.
case invalid Output URLPath Extension
The path extension of the URL was invalid.
case invalid Source Media
The operation could not complete because some source media could not be read.
case invalid Video Composition
You attempted to perform a video composition operation that is not supported.
case malformed Depth
The depth data wasn’t properly structured.
case maximum Duration Reached
Recording stopped because the maximum duration for the file was reached.
case maximum File Size Reached
Recording stopped because the maximum size for the file was reached.
case maximum Number Of Samples For File Format Reached
Recording stopped because the maximum number of samples for the file was reached.
case maximum Still Image Capture Requests Exceeded
The photo could not be taken because there are too many photo requests that haven’t completed yet.
case media Changed
Recording stopped because the format of the source media changed.
case media Discontinuity
Recording stopped because there was an interruption in the input media.
case media Services Were Reset
The operation could not be completed because media services became unavailable.
case no Data Captured
Recording failed because no data was received.
case no Image At Time
There is no image at that time in the media.
case no Longer Playable
The asset is no longer playable.
case no Source Track
The asset has no source track.
case operation Interrupted
An interruption occurred while an AVAssetWriter, AVAsset
or AVAsset
was executing.
case operation Not Allowed
The user requested an unsupported operation.
case operation Not Supported For Asset
You attempted to perform an operation with the asset that is not supported.
case operation Not Supported For Preset
You attempted to perform an operation that’s not supported for the current preset.
case out Of Memory
The operation could not be completed because there is not enough memory to process all of the media.
case recording Already In Progress
Movie file output on iOS supports only one recording at a time.
case reference Forbidden By Reference Policy
You attempted to perform an operation with the asset that attempted to follow a reference that was not allowed.
case screen Capture Failed
There was an unexpected problem that prevented screen capture.
case server Incorrectly Configured
The HTTP server sending the media resource is not configured as expected.
case session Configuration Changed
Recording stopped because the configuration of media sources and destinations changed.
case session Hardware Cost Overage
You requested too many camera hardware resources.
case session Not Running
Recording could not start because the session isn’t running.
case session Was Interrupted
Recording stopped because it was interrupted.
case torch Level Unavailable
The specified torch level is valid but currently unavailable, possibly due to overheating.
case undecodable Media Data
The media data could not be decoded.
case unknown
Reason for the error is unknown.
case unsupported Device Active Format
The device’s active format is not supported for the requested action.
case unsupported Output Settings
The user requested unsupported output settings.
case video Compositor Failed
The video compositor couldn’t composite frames.