IOMixer

public class IOMixer
extension IOMixer: Running

An object that mixies audio and video for streaming.

  • The default fps for an IOMixer, value is 30.

    Declaration

    Swift

    public static let defaultFrameRate: Float64
  • The capture session instance.

    Declaration

    Swift

    public internal(set) lazy var session: AVCaptureSession { get set }
  • Declaration

    Swift

    public private(set) var isRunning: Atomic<Bool> { get }
  • The recorder instance.

    Declaration

    Swift

    public lazy var recorder: IORecorder { get set }
  • Specifies the drawable object.

    Declaration

    Swift

    public weak var drawable: NetStreamDrawable? { get set }
  • Starts encoding for video and audio data.

    Declaration

    Swift

    public func startEncoding(_ delegate: AVCodecDelegate)
  • Stop encoding.

    Declaration

    Swift

    public func stopEncoding()
  • Starts decoding for video and audio data.

    Declaration

    Swift

    public func startDecoding(_ audioEngine: AVAudioEngine)
  • Stop decoding.

    Declaration

    Swift

    public func stopDecoding()

Running