Share via


AVCaptureTimecode.CreateMetadataSampleBufferAssociatedWithPresentationTimeStamp Method

Definition

Creates a sample buffer containing timecode metadata associated with a presentation timestamp.

public CoreMedia.CMSampleBuffer? CreateMetadataSampleBufferAssociatedWithPresentationTimeStamp(CoreMedia.CMTime presentationTimeStamp);
member this.CreateMetadataSampleBufferAssociatedWithPresentationTimeStamp : CoreMedia.CMTime -> CoreMedia.CMSampleBuffer

Parameters

presentationTimeStamp
CMTime

The presentation time stamp that determines when the metadata should be applied in the media timeline.

Returns

A sample buffer with encoded timecode metadata for video synchronization, or null if creation fails.

Remarks

This method creates a CMSampleBuffer with metadata for integration with a video track at a specific moment in time.

Applies to