IORecorder

public final class IORecorder
extension IORecorder: Running

The IORecorder class represents video and audio recorder.

  • The IORecorder error domain codes.

    See more

    Declaration

    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: (any 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 append(_ sampleBuffer: CMSampleBuffer)
  • Append a pixel buffer for recording.

    Declaration

    Swift

    public func append(_ pixelBuffer: CVPixelBuffer, withPresentationTime: CMTime)

Running