---
title: "send(videoBuffer:)"
framework: Immersive Media Support
role: symbol
role_heading: Instance Method
platforms: [macOS 26.0+]
path: "immersivemediasupport/immersivemediaremotepreviewsender/send(videobuffer:)"
---

# send(videoBuffer:)

Sends the video frame to the receivers.

## Declaration

```swift
func send(videoBuffer: CMSampleBuffer) async throws
```

## Parameters

- `videoBuffer`: The video buffer to be sent to the receivers - this needs to be a sample buffer with mediaType equals to .taggedBufferGroup and containing frames properly tagged to be used as Immersive Video frames.

## Discussion

Discussion note: This function throws if anything fails while sending the frame, for example, if the frame has an invalid format or data.
