IORecorder
public class IORecorder
extension IORecorder: Running
The IORecorder class represents video and audio recorder.
-
The IORecorder error domain codes.
See moreDeclaration
Swift
public enum Error : Swift.Error
-
The default output settings for an IORecorder.
Declaration
Swift
public static let defaultOutputSettings: [AVMediaType : [String : Any]]
-
Specifies the delegate.
Declaration
Swift
public weak var delegate: IORecorderDelegate?
-
Specifies the recorder settings.
Declaration
Swift
public var outputSettings: [AVMediaType : [String : Any]]
-
The running indicies whether recording or not.
Declaration
Swift
public private(set) var isRunning: Atomic<Bool> { get }
-
Append a sample buffer for recording.
Declaration
Swift
public func appendSampleBuffer(_ sampleBuffer: CMSampleBuffer, mediaType: AVMediaType)
-
Append a pixel buffer for recording.
Declaration
Swift
public func appendPixelBuffer(_ pixelBuffer: CVPixelBuffer, withPresentationTime: CMTime)
-
Declaration
Swift
public func startRunning()
-
Declaration
Swift
public func stopRunning()