SCFrameStatus
Status values for a frame from a stream.
Declaration
enum SCFrameStatusOverview
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
SCFrameStatus.completeSCFrameStatus.idleSCFrameStatus.blankSCFrameStatus.startedSCFrameStatus.suspendedSCFrameStatus.stopped