Initializer

init(asset:timebase:)

Creates a new sample buffer generator.

Declaration

init(asset: AVAsset, timebase: CMTimebase?)

Parameters

asset

The asset.

timebase

If NULL, requests will be handled synchronously.

Return Value

An initialized AVSampleBufferGenerator instance.