AVRecorder
public class AVRecorder
extension AVRecorder: Running
The AVRecorder class represents video and audio recorder.
-
The AVRecorder error domain codes.
See moreDeclaration
Swift
public enum Error : Swift.Error
-
The default output settings for an AVRecorder.
Declaration
Swift
public static let defaultOutputSettings: [AVMediaType : [String : Any]]
-
Specifies the delegate.
Declaration
Swift
public weak var delegate: AVRecorderDelegate?
-
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()