---
title: RPSampleBufferType
framework: replaykit
role: symbol
role_heading: Enumeration
path: replaykit/rpsamplebuffertype
---

# RPSampleBufferType

The type of media clip sample being buffered.

## Declaration

```swift
enum RPSampleBufferType
```

## Topics

### Sample Buffer Types

- [RPSampleBufferType.audioApp](replaykit/rpsamplebuffertype/audioapp.md)
- [RPSampleBufferType.audioMic](replaykit/rpsamplebuffertype/audiomic.md)
- [RPSampleBufferType.video](replaykit/rpsamplebuffertype/video.md)

### Initializers

- [init(rawValue:)](replaykit/rpsamplebuffertype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Controlling App Recording

- [startRecording(handler:)](replaykit/rpscreenrecorder/startrecording(handler:).md)
- [stopRecording(handler:)](replaykit/rpscreenrecorder/stoprecording(handler:).md)
- [stopRecording(withOutput:completionHandler:)](replaykit/rpscreenrecorder/stoprecording(withoutput:completionhandler:).md)
- [startCapture(handler:completionHandler:)](replaykit/rpscreenrecorder/startcapture(handler:completionhandler:).md)
- [stopCapture(handler:)](replaykit/rpscreenrecorder/stopcapture(handler:).md)
- [discardRecording(handler:)](replaykit/rpscreenrecorder/discardrecording(handler:).md)
- [startRecording(withMicrophoneEnabled:handler:)](replaykit/rpscreenrecorder/startrecording(withmicrophoneenabled:handler:).md)
