<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetWriterInput/PixelBufferReceiver/appendImmediately(_:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So18AVAssetWriterInputC12AVFoundationE19PixelBufferReceiverC17appendImmediately_4withSb9CoreVideo010CVReadOnlyeF0C_So6CMTimeatKF"
  },
  "title" : "appendImmediately(_:with:)"
}
-->

# appendImmediately(_:with:)

Appends the pixel buffer synchronously if the input is ready for more media data.

```
func appendImmediately(_ pixelBuffer: CVReadOnlyPixelBuffer, with presentationTime: CMTime) throws -> Bool
```

## Parameters

`pixelBuffer`

The pixel buffer to be appended.

`presentationTime`

The presentation time for the pixel buffer to be appended.

## Return Value

Returns true if the append was successful, false if the input was not ready for more media data.

## Discussion> Throws: An error if the underlying writer failed.

---

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)