<!--
{
  "availability" : [
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImmersiveMediaSupport",
  "identifier" : "/documentation/ImmersiveMediaSupport/ImmersiveMediaRemotePreviewSender/send(videoFrame:presentationTimeStamp:frameDuration:metadata:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Immersive Media Support"
    ],
    "preciseIdentifier" : "s:21ImmersiveMediaSupport0aB19RemotePreviewSenderC4send10videoFrame21presentationTimeStamp13frameDuration8metadatayAA0a5VideoI0V_So6CMTimeaALSayAA19PresentationCommandOGtYaKF"
  },
  "title" : "send(videoFrame:presentationTimeStamp:frameDuration:metadata:)"
}
-->

# send(videoFrame:presentationTimeStamp:frameDuration:metadata:)

Sends a video frame to all the connected receivers using its sample buffer representation.

```
func send(videoFrame: ImmersiveVideoFrame, presentationTimeStamp: CMTime, frameDuration: CMTime, metadata: [PresentationCommand] = []) async throws
```

## Parameters

`videoFrame`

The video frame to be sent to the receivers.

`presentationTimeStamp`

The presentation time stamp of the frame.

`frameDuration`

The duration of the frame in seconds.

`metadata`

Metadata information to be send with this frame.

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

---

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)