Called whenever the receiver outputs a new video frame.
Original signature is '- (void)outputVideoFrame:(CVImageBufferRef)videoFrame withSampleBuffer:(QTSampleBuffer *)sampleBuffer fromConnection:(QTCaptureConnection *)connection'
Available in 5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void OutputVideoFrameWithSampleBufferFromConnection( IntPtr videoFrame, QTSampleBuffer sampleBuffer, QTCaptureConnection connection )
Public Overridable Sub OutputVideoFrameWithSampleBufferFromConnection ( _ videoFrame As IntPtr, _ sampleBuffer As QTSampleBuffer, _ connection As QTCaptureConnection _ )
public: virtual void OutputVideoFrameWithSampleBufferFromConnection( IntPtr videoFrame, QTSampleBuffer^ sampleBuffer, QTCaptureConnection^ connection )
Parameters
- videoFrame (IntPtr)
- A buffer containing the decompressed frame.
- sampleBuffer (QTSampleBuffer)
- A sample buffer containing additional information about the frame, such as its presentation time.
- connection (QTCaptureConnection)
- The connection from which the video was received.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)