sourceReadOnlyPixelBuffer(byTrackID:)
Returns the source CVReadOnlyPixelBuffer for the given track ID. If the track contains tagged buffers, a pixel buffer from one of the tagged buffers will be returned.
Declaration
func sourceReadOnlyPixelBuffer(byTrackID trackID: CMPersistentTrackID) -> CVReadOnlyPixelBuffer?Parameters
- trackID:
The track ID for the requested source frame.
Return Value
The source CVReadOnlyPixelBuffer for the given track ID.