Type Property

AVSampleBufferDisplayLayerFailedToDecode

Posted when a buffer display layer failed to decode.

Declaration

static let AVSampleBufferDisplayLayerFailedToDecode: NSNotification.Name

Discussion

The notification’s userInfo contains an NSError as the value of the AVSampleBufferDisplayLayerFailedToDecodeNotificationErrorKey.

See Also

Handling Errors

var error: Error?

The error that caused the failure.