AVMixer

public class AVMixer
extension AVMixer: Running

An object that mixies audio and video for streaming.

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

    Declaration

    Swift

    public static let defaultFPS: Float64
  • The default videoSettings for an AVMixer.

    Declaration

    Swift

    public static let defaultVideoSettings: [NSString : AnyObject]
  • The AVCaptureSession options.

    See more

    Declaration

    Swift

    public enum Option : String, KeyPathRepresentable, CaseIterable
  • The AVCaptureSession options. This is a stub.

    See more
  • The capture session instance.

    Declaration

    Swift

    public var session: AVCaptureSession { get set }
  • The recorder instance.

    Declaration

    Swift

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

    Declaration

    Swift

    public weak var drawable: NetStreamDrawable? { get set }
  • Create a AVMixer instance.

    Declaration

    Swift

    public init()
  • Starts encoding for video and audio data.

    Declaration

    Swift

    public func startEncoding(delegate: Any)
  • Stops 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