---
title: "init(taggedBuffers:formatDescription:presentationTimeStamp:duration:)"
framework: coremedia
role: symbol
role_heading: Initializer
path: "coremedia/cmreadysamplebuffer/init(taggedbuffers:formatdescription:presentationtimestamp:duration:)"
---

# init(taggedBuffers:formatDescription:presentationTimeStamp:duration:)

Creates a sample buffer carrying tagged buffers.

## Declaration

```swift
init(taggedBuffers content: Content, formatDescription: CMTaggedBufferGroupFormatDescription? = nil, presentationTimeStamp: CMTime, duration: CMTime = .invalid)
```

## Parameters

- `formatDescription`: Format description of the content. The format must be have tagged buffer group media type.
- `presentationTimeStamp`: The time at which sample will be presented. Must be valid numeric time.
- `duration`: Duration of the sample. Set to CMTime/invalid if not present.
