StreamStats
public struct StreamStats : Codable
Statistics for a single stream @since 9.6
-
If this stream is currently active
- @since 9.6
Declaration
Swift
public var active: Bool
-
Time, in seconds, this stream has been active
- @since 11.2 type changed from Double to UInt64
- @since 9.6
Declaration
Swift
public var duration: UInt64
-
ID number of this stream
- @since 11.2 type changed from Double to UInt64
- @since 9.6
Declaration
Swift
public var id: UInt64
-
Time this stream started, seconds since epoch
- @since 9.6
Declaration
Swift
public var startTime: UInt64
-
Upload speed of this stream, in megabits per second
- @since 9.6
Declaration
Swift
public var uploadSpeed: Double
-
Download speed of this stream, in megabits per second
- @since 9.8
Declaration
Swift
public var downloadSpeed: Double
-
Average upload speed of this stream, in megabits per second
- @since 9.8
Declaration
Swift
public var averageUploadSpeed: Double
-
Average download speed of this stream, in megabits per second
- @since 9.8
Declaration
Swift
public var averageDownloadSpeed: Double
-
Unique identifier of this stream
- @since 11.2 type changed from Double to UInt64
- @since 9.8
Declaration
Swift
public var groupID: UInt64
-
Name of the application or domain of this stream, or ‘stream_test’ for testing streams.
- @since 9.8
Declaration
Swift
public var name: String
-
When a stream has switched to redundant mode
- @since 11.2 type changed from Double to UInt64
- @since 9.8
Declaration
Swift
public var redundantSaves: UInt64
-
When the network speed dips below the speed of the stream and speedify bonds the connection for more speed
- @since 11.2 type changed from Double to UInt64
- @since 9.8
Declaration
Swift
public var speedSaves: UInt64
-
Number of saves through connection failover
- @since 11.2
Declaration
Swift
public var failoverSaves: UInt64
-
Current
StreamHealth
- @since 11.2
Declaration
Swift
public var health: StreamHealth
-
The remote ip that this stream is connected to.
- @since 14.2
Declaration
Swift
public var remoteIp: String
-
The remote port that this stream is connected to.
- @since 14.2
Declaration
Swift
public var remotePort: UInt16
-
The protocol of this stream.
- This is typically VNC, RTP, RTMP, RDP, Wifi Calling, TCP, UDP or HTTPS, if known.
- @since 14.2
Declaration
Swift
public var streamProtocol: String
-
The hostname of the service that this stream is connected to.
- @since 14.2
Declaration
Swift
public var hostname: String
-
Declaration
Swift
public init(json: [String : Any])