← ClaudeAtlas

coremedia-timing-samplebuffer-workflowlisted

Guide Core Media timing and sample-buffer implementation and repair, including CMTime, CMTimeRange, CMClock, CMTimebase, CMFormatDescription, CMSampleBuffer, attachments, readiness, presentation and decode timestamps, dropped buffers, AVSampleBufferDisplayLayer, AVSampleBufferRenderSynchronizer, and synchronization diagnostics. Use when media bugs involve timestamps, sample buffers, timing drift, or format descriptions.
gaelic-ghost/socket · ★ 6 · AI & Automation · score 69
Install: claude install-skill gaelic-ghost/socket
# Core Media Timing Sample Buffer Workflow ## Purpose Guide Core Media timing and sample-buffer repair. This skill owns the precise media-time and sample payload boundary: `CMTime`, time ranges, clocks, timebases, format descriptions, sample buffers, attachments, readiness, presentation and decode timestamps, synchronization, and diagnostic probes. It is not the AVFoundation pipeline owner, not the AVAudioEngine graph owner, and not a generic media-player workflow. ## When To Use - Use this skill when code manipulates `CMTime`, `CMTimeRange`, `CMClock`, `CMTimebase`, `CMFormatDescription`, `CMSampleBuffer`, attachments, sample readiness, timestamps, dropped buffers, `AVSampleBufferDisplayLayer`, or `AVSampleBufferRenderSynchronizer`. - Use this skill when existing media code drifts, drops frames or buffers, appends invalid samples, loses format descriptions, confuses decode and presentation time, mishandles host time, or cannot explain synchronization failures. - Recommend `avfoundation-media-pipeline-workflow` when the primary problem is capture, playback, reader, writer, export, or asset loading. - Recommend `avaudio-engine-workflow` when the primary problem is engine graph rendering rather than sample-buffer timing. ## Single-Path Workflow 1. Classify the timing request: - time math - sample-buffer creation or inspection - format description - attachments or dropped buffers - display layer or render synchronizer - writer or reader timestamp repair