HVTBufferDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | HVTCamera.h |
Overview
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
Parameters
hvtCamera |
The HVTCamera object calling the delegate method. |
---|---|
sampleBuffer |
The CMSampleBuffer received. |
Discussion
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
HVTCamera.h