Contents

SCFrameStatus

Status values for a frame from a stream.

Declaration

enum SCFrameStatus

Overview

You create a frame status by initializing it with the value you retrieve for the status from the sample buffer’s attachments dictionary.

if let statusRawValue = attachments[SCStreamFrameInfo.status] as? Int {
    // Create status value.
    let status = SCFrameStatus(rawValue: statusRawValue)
    ...
}

Topics

Status values

Initializers

See Also

Output processing