IOStreamObserver

public protocol IOStreamObserver : AnyObject

A delegate protocol your app implements to receive capture stream output events.

  • Tells the receiver to an audio buffer outgoing.

    Declaration

    Swift

    func stream(_ stream: IOStream, didOutput audio: AVAudioBuffer, when: AVAudioTime)
  • Tells the receiver to a video buffer outgoing.

    Declaration

    Swift

    func stream(_ stream: IOStream, didOutput video: CMSampleBuffer)