cmsamplebuffer

Asked on 2025-06-24

1 search

The term "CMSampleBuffer" is mentioned in the context of capturing HDR content with ScreenCaptureKit and working with Apple Projected Media Profile.

In the session titled "Capture HDR content with ScreenCaptureKit" (WWDC 2024), CMSampleBuffer is used when capturing HDR content. Specifically, if your app needs CMSampleBuffers for screenshots, you can use the captureSampleBuffer function. This is part of the new APIs to get HDR content from both streams and screenshots. You can find more about this in the session Capture HDR content with ScreenCaptureKit (05:51).

In the session "Learn about the Apple Projected Media Profile" (WWDC 2025), CMSampleBuffer is related to CM tagged dynamic buffers, which are used across multiple APIs to handle stereoscopic content, including editing APIs such as AV video composition. This is part of the discussion on video editing with the Apple Projected Media Profile. You can learn more about this in the session Learn about the Apple Projected Media Profile (11:47).

These sessions provide insights into how CMSampleBuffer is utilized in different contexts within Apple's frameworks.