send(videoFrame:presentationTimeStamp:frameDuration:metadata:)
Sends a video frame to all the connected receivers using its sample buffer representation.
Declaration
func send(videoFrame: ImmersiveVideoFrame, presentationTimeStamp: CMTime, frameDuration: CMTime, metadata: [PresentationCommand] = []) async throwsParameters
- 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.