splitSamples()
Split sample buffer into a smaller representation, ideally carrying a single sample per resulting sample buffer.
Declaration
func splitSamples() -> [CMReadySampleBuffer<Content>]Discussion
Each sample buffer in the returned array will have individual samples, referring to the sample data and containing correct timing, size and attachments. Array with a single element is returned if the samples in the sample buffer can not be separated. For example:
if sample sizes are not present
samples are non-contiguous (e.g. non-interleaved audio)