NetworkMonitor

public final actor NetworkMonitor
extension NetworkMonitor: AsyncRunner

An objec thatt provides the RTMPConnection, SRTConnection’s monitoring events.

  • The error domain codes.

    See more

    Declaration

    Swift

    public enum Error : Swift.Error
  • An asynchronous sequence for network monitoring event.

    Declaration

    Swift

    public var event: AsyncStream<NetworkMonitorEvent> { get }
  • Declaration

    Swift

    public private(set) var isRunning: Bool { get }
  • Creates a new instance.

    Declaration

    Swift

    public init(_ reporter: some NetworkTransportReporter)

AsyncRunner