IOMuxer

public protocol IOMuxer : Running

A type that multiplexer for streaming.

  • Specifies the audioFormat.

    Declaration

    Swift

    var audioFormat: AVAudioFormat? { get set }
  • Specifies the videoFormat.

    Declaration

    Swift

    var videoFormat: CMFormatDescription? { get set }
  • Appends an audio.

    Declaration

    Swift

    func append(_ audioBuffer: AVAudioBuffer, when: AVAudioTime)
  • Appends a video or an audio.

    Declaration

    Swift

    func append(_ sampleBuffer: CMSampleBuffer)