NetworkMonitor
public final actor NetworkMonitor
extension NetworkMonitor: AsyncRunner
An objec thatt provides the RTMPConnection, SRTConnection’s monitoring events.
-
The error domain codes.
See moreDeclaration
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)
-
Declaration
Swift
public func startRunning()
-
Declaration
Swift
public func stopRunning()