Contents

sampleCount

Number of samples in the sample buffer.

Declaration

var sampleCount: Int { get }

Discussion

This value is always equal to sampleProperties.count. This value is 0 when Content is CMSampleBuffer.DynamicContent and contentType is CMSampleBuffer.ContentType.markerOnly. For all other sample buffer content, this value is greater than 0.