AVCaptureTimecode.CreateMetadataSampleBufferAssociatedWithPresentationTimeStamp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.