Avatar
CMSampleBuffer ってメソッドが何もなくて https://developer.apple.com/documentation/coremedia/cmsamplebuffer
9:40 AM
CMSampleBufferGetImageBuffer(_:) みたいな関数群があるけど https://developer.apple.com/documentation/coremedia/1489236-cmsamplebuffergetimagebuffer
9:41 AM
これらをひたすら呼び出す extension を作ってメソッド化して↓に突っ込めば良い? https://github.com/apple/swift/tree/master/stdlib/public/SDK/CoreMedia
swift - The Swift Programming Language