<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVSampleBufferVideoRenderer/Receiver/RenderingEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So27AVSampleBufferVideoRendererC12AVFoundationE8ReceiverC14RenderingEventO"
  },
  "title" : "AVSampleBufferVideoRenderer.Receiver.RenderingEvent"
}
-->

# AVSampleBufferVideoRenderer.Receiver.RenderingEvent

Events that might require intervention after there are no more samples to enqueue, but before rendering has finished.

```
enum RenderingEvent
```

## Topics

### Rendering events

[`case didFailToDecode([any Error])`](/documentation/AVFoundation/AVSampleBufferVideoRenderer/Receiver/RenderingEvent/didFailToDecode(_:))

Indicates that the renderer failed to decode one or more previously enqueued sample buffers.

[`case requiresFlushToResumeDecoding(any Error)`](/documentation/AVFoundation/AVSampleBufferVideoRenderer/Receiver/RenderingEvent/requiresFlushToResumeDecoding(_:))

The Receiver requires a flush to continue enqueuing samples.

[`case failed(any Error)`](/documentation/AVFoundation/AVSampleBufferVideoRenderer/Receiver/RenderingEvent/failed(_:))

Indicates that the receiver cannot currently enqueue or render sample buffers because of the associated error.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)