SrtPerformanceData

data class SrtPerformanceData(val bytesSent: Long, val bytesReceived: Long, val sendBufferBytes: Int, val receiveBufferBytes: Int, val roundTripTimeMs: Double, val sendRateMbps: Double, val receiveRateMbps: Double)

Immutable native statistics snapshot. Byte totals include protocol overhead; outgoing totals also include retransmissions. Reading does not reset counters.

Constructors

Link copied to clipboard
constructor(bytesSent: Long, bytesReceived: Long, sendBufferBytes: Int, receiveBufferBytes: Int, roundTripTimeMs: Double, sendRateMbps: Double, receiveRateMbps: Double)

Properties

Link copied to clipboard

Total incoming bytes reported by libsrt.

Link copied to clipboard

Total outgoing bytes reported by libsrt.

Link copied to clipboard

Bytes queued in the receive buffer.

Link copied to clipboard

Measured receiving rate in megabits per second.

Link copied to clipboard

Estimated round-trip time in milliseconds.

Link copied to clipboard

Bytes waiting for acknowledgement in the send buffer.

Link copied to clipboard

Measured sending rate in megabits per second.