Available on crate feature
cm only.Expand description
CMSampleBuffer — framework-agnostic safe wrapper around a CoreMedia
CMSampleBufferRef.
This wrapper exposes the generic CMSampleBuffer surface that every
consumer needs: presentation timestamp, format description, attached
data buffer (CMBlockBuffer), sample count, validity. Framework-specific
attachment readers (e.g. SCStreamFrameInfo’s frame status, content
rect, dirty rects) live in the consuming crates so that, for example,
screencapturekit-rs’s SC-attachment readers don’t get pulled into
videotoolbox-rs.
Structs§
- CMSample
Buffer - Owned reference to a
CoreMediaCMSampleBufferRef.