IOStreamRecorder
public final class IOStreamRecorder
extension IOStreamRecorder: IOStreamObserver
extension IOStreamRecorder: Running
The IOStreamRecorder class represents video and audio recorder.
-
The IOStreamRecorder error domain codes.
See moreDeclaration
Swift
public enum Error : Swift.Error -
Specifies the delegate.
Declaration
Swift
public weak var delegate: (any IOStreamRecorderDelegate)? -
Specifies the recorder settings.
Declaration
Swift
public var settings: [AVMediaType : [String : Any]] -
Specifies the file name. nil will generate a unique file name.
Declaration
Swift
public var fileName: String? -
The running indicies whether recording or not.
Declaration
Swift
public private(set) var isRunning: Atomic<Bool> { get } -
Creates a new recorder.
Declaration
Swift
public init()
-
Declaration
Swift
public func startRunning() -
Declaration
Swift
public func stopRunning()