RTMPResponder

open class RTMPResponder

The RTMPResponder class provides to use handle RTMPConnection’s callback.

  • A Handler represents RTMPResponder’s callback function.

    Declaration

    Swift

    public typealias Handler = (_ data: [Any?]) -> Void
  • Creates a new RTMPResponder object.

    Declaration

    Swift

    public init(result: @escaping Handler, status: Handler? = nil)