addSampleBuffer method of the RTRDataCaptureService protocol

Documentation Menu

Sends the video frame obtained from camera to the service.

Call this method to pass on the video sample buffer received by an AVCaptureVideoDataOutputSampleBufferDelegate object via the captureOutput:didOutputSampleBuffer:fromConnection: method. The service will pick the frames it needs from the sequence of the frames you supply.

note Note: The video output must be configured to use the kCVPixelFormatType_32BGRA video pixel format. Other pixel formats are currently not supported.

- (void)addSampleBuffer:(CMSampleBufferRef)sampleBuffer;



A CMSampleBuffer object containing the video frame data.