SrtEndpointMetrics

data class SrtEndpointMetrics(val uptime: Duration, val packetsWritten: Long, val packetsRead: Long, val packetsWriteLost: Long, val packetsReadLost: Int, val packetsRetransmitted: Int, val packetsWriteACK: Int, val packetsReadACK: Int, val packetsWriteNAK: Int, val packetsReadNAK: Int, val usWriteDuration: Long, val packetsWriteDropped: Long, val packetsReadDropped: Int, val packetsReadUndecrypt: Int, val bytesWritten: Long, val bytesRead: Long, val bytesReadLost: Long, val bytesRetransmitted: Long, val bytesWriteDropped: Long, val bytesReadDropped: Long, val bytesReadUndecrypt: Long, val rawMetrics: SrtRawMetrics) : SrtBasicEndpointMetrics, EndpointMetrics<SrtRawMetrics> (source)

Specific EndpointMetrics for SRT protocol, based on SrtRawMetrics.

Constructors

Link copied to clipboard
constructor(uptime: Duration, packetsWritten: Long, packetsRead: Long, packetsWriteLost: Long, packetsReadLost: Int, packetsRetransmitted: Int, packetsWriteACK: Int, packetsReadACK: Int, packetsWriteNAK: Int, packetsReadNAK: Int, usWriteDuration: Long, packetsWriteDropped: Long, packetsReadDropped: Int, packetsReadUndecrypt: Int, bytesWritten: Long, bytesRead: Long, bytesReadLost: Long, bytesRetransmitted: Long, bytesWriteDropped: Long, bytesReadDropped: Long, bytesReadUndecrypt: Long, rawMetrics: SrtRawMetrics)

Properties

Link copied to clipboard
open override val bytesRead: Long

The total number of read bytes

Link copied to clipboard
open override val bytesReadDropped: Long

The number of too-late-to-play missing bytes (estimate based on average packet size)

Link copied to clipboard
open override val bytesReadLost: Long

The total number of lost bytes

Link copied to clipboard
open override val bytesReadUndecrypt: Long

The number of undecrypted bytes

Link copied to clipboard
open override val bytesRetransmitted: Long

The total number of retransmitted bytes

Link copied to clipboard
open override val bytesWriteDropped: Long

The number of too-late-to-write dropped bytes

Link copied to clipboard
open override val bytesWritten: Long

The total number of written data bytes, including retransmissions

Link copied to clipboard
open override val packetsRead: Long

The total number of read packets

Link copied to clipboard
open override val packetsReadACK: Int

The total number of read ACK packets

Link copied to clipboard
open override val packetsReadDropped: Int

The number of too-late-to-play missing packets

Link copied to clipboard
open override val packetsReadLost: Int

The total number of lost packets (reader side)

Link copied to clipboard
open override val packetsReadNAK: Int

The total number of read NAK packets

Link copied to clipboard
open override val packetsReadUndecrypt: Int

The number of undecrypted packets

Link copied to clipboard
open override val packetsRetransmitted: Int

The total number of retransmitted packets

Link copied to clipboard
open override val packetsWriteACK: Int

The total number of written ACK packets

Link copied to clipboard
open override val packetsWriteDropped: Long

The number of too-late-to-write dropped packets

Link copied to clipboard
open override val packetsWriteLost: Long

The total number of lost packets (writer side)

Link copied to clipboard
open override val packetsWriteNAK: Int

The total number of written NAK packets

Link copied to clipboard
open override val packetsWritten: Long

The total number of written data packets, including retransmissions

Link copied to clipboard
open override val rawMetrics: SrtRawMetrics

Raw SRT socket helper

Link copied to clipboard
open override val uptime: Duration

The time since the entity is started

Link copied to clipboard
open override val usWriteDuration: Long

The total time duration when UDT is writing data (idle time exclusive)

Functions

Link copied to clipboard
open operator override fun minus(other: BasicEndpointMetrics): BasicEndpointMetrics