HVTBufferDelegate Protocol Reference

Conforms to NSObject
Declared in HVTCamera.h


The HVTBufferDelegate protocol defines the delegate method to be implemented in order to receive updates for the leveled sample buffers sent from the HVTCamera instance.

The delegate method are invoked in the queue defined from setSampleBufferDelegate:queue: method.

Sample Buffer Delegate Method

– hvtCamera:didOutputSampleBuffer: required method

Implement this method to be notified when you receive a CMSampleBuffer from the delegate in order to process it further to your own pipeline.

- (void)hvtCamera:(HVTCamera *)hvtCamera didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer



The HVTCamera object calling the delegate method.


The CMSampleBuffer received.


This method is not being dispatched to the main thread as opposed to the other delegate methods but to the dispatch queue set by the setSampleBufferDelegate:queue: method.

Declared In