HTTPStream

open class HTTPStream : NetStream

The HTTPStream class represents an HLS playlist and .ts files.

  • For appendSampleBuffer, specifies whether media contains types .video or .audio.

    Declaration

    Swift

    public var expectedMedias: Set<AVMediaType> { get set }
  • Undocumented

    Declaration

    Swift

    open func publish(_ name: String?)
  • Declaration

    Swift

    override open func attachCamera(_ camera: AVCaptureDevice?, onError: ((NSError) -> Void)? = nil)
  • Declaration

    Swift

    override open func attachAudio(_ audio: AVCaptureDevice?, automaticallyConfiguresApplicationAudioSession: Bool = true, onError: ((NSError) -> Void)? = nil)