Contents

SCStreamOutput

A delegate protocol your app implements to receive capture stream output events.

Declaration

protocol SCStreamOutput : NSObjectProtocol

Overview

The SCStreamOutput protocol provides a way to retrieve output from an SCStream.

After you call startCapture(completionHandler:), the system provides frame data through the stream(_:didOutputSampleBuffer:of:) method. You can inspect the CMSampleBuffer to retrieve image data, and inspect the sample buffer for metadata about the frame.

Topics

Receiving stream output

See Also

Output processing