SRTPerformanceData
public struct SRTPerformanceData : Sendable
The SRTPerformanceData represents the SRT’s performance statistics. This struct is wrapper for an CBytePerfMon.
-
The time since the UDT entity is started, in milliseconds.
Declaration
Swift
public let msTimeStamp: Int64 -
The total number of sent data packets, including retransmissions.
Declaration
Swift
public let pktSentTotal: Int64 -
The total number of received packets.
Declaration
Swift
public let pktRecvTotal: Int64 -
The total number of lost packets (sender side)
Declaration
Swift
public let pktSndLossTotal: Int32 -
The total number of lost packets (receiver side)
Declaration
Swift
public let pktRcvLossTotal: Int32 -
The total number of retransmitted packets
Declaration
Swift
public let pktRetransTotal: Int32 -
The total number of sent ACK packets
Declaration
Swift
public let pktSentACKTotal: Int32 -
The total number of received ACK packets
Declaration
Swift
public let pktRecvACKTotal: Int32 -
The total number of sent NAK packets
Declaration
Swift
public let pktSentNAKTotal: Int32 -
The total number of received NAK packets
Declaration
Swift
public let pktRecvNAKTotal: Int32 -
The total time duration when UDT is sending data (idle time exclusive)
Declaration
Swift
public let usSndDurationTotal: Int64 -
The number of too-late-to-send dropped packets
Declaration
Swift
public let pktSndDropTotal: Int32 -
The number of too-late-to play missing packets
Declaration
Swift
public let pktRcvDropTotal: Int32 -
The number of undecrypted packets
Declaration
Swift
public let pktRcvUndecryptTotal: Int32 -
The total number of sent data bytes, including retransmissions
Declaration
Swift
public let byteSentTotal: UInt64 -
The total number of received bytes
Declaration
Swift
public let byteRecvTotal: UInt64 -
The total number of lost bytes
Declaration
Swift
public let byteRcvLossTotal: UInt64 -
The total number of retransmitted bytes
Declaration
Swift
public let byteRetransTotal: UInt64 -
The number of too-late-to-send dropped bytes
Declaration
Swift
public let byteSndDropTotal: UInt64 -
The number of too-late-to play missing bytes (estimate based on average packet size)
Declaration
Swift
public let byteRcvDropTotal: UInt64 -
The number of undecrypted bytes
Declaration
Swift
public let byteRcvUndecryptTotal: UInt64 -
The number of sent data packets, including retransmissions
Declaration
Swift
public let pktSent: Int64 -
The number of received packets
Declaration
Swift
public let pktRecv: Int64 -
The number of lost packets (sender side)
Declaration
Swift
public let pktSndLoss: Int32 -
The number of lost packets (receiver side)
Declaration
Swift
public let pktRcvLoss: Int32 -
The number of retransmitted packets
Declaration
Swift
public let pktRetrans: Int32 -
The number of retransmitted packets received
Declaration
Swift
public let pktRcvRetrans: Int32 -
The number of sent ACK packets
Declaration
Swift
public let pktSentACK: Int32 -
The number of received ACK packets
Declaration
Swift
public let pktRecvACK: Int32 -
The number of sent NAK packets
Declaration
Swift
public let pktSentNAK: Int32 -
The number of received NAK packets
Declaration
Swift
public let pktRecvNAK: Int32 -
The sending rate in Mb/s
Declaration
Swift
public let mbpsSendRate: Double -
The receiving rate in Mb/s
Declaration
Swift
public let mbpsRecvRate: Double -
The busy sending time (i.e., idle time exclusive)
Declaration
Swift
public let usSndDuration: Int64 -
The size of order discrepancy in received sequences
Declaration
Swift
public let pktReorderDistance: Int32 -
The average time of packet delay for belated packets (packets with sequence past the ACK)
Declaration
Swift
public let pktRcvAvgBelatedTime: Double -
The number of received AND IGNORED packets due to having come too late
Declaration
Swift
public let pktRcvBelated: Int64 -
The number of too-late-to-send dropped packets
Declaration
Swift
public let pktSndDrop: Int32 -
The number of too-late-to play missing packets
Declaration
Swift
public let pktRcvDrop: Int32 -
The number of undecrypted packets
Declaration
Swift
public let pktRcvUndecrypt: Int32 -
The number of sent data bytes, including retransmissions
Declaration
Swift
public let byteSent: UInt64 -
The number of received bytes
Declaration
Swift
public let byteRecv: UInt64 -
The number of retransmitted bytes
Declaration
Swift
public let byteRcvLoss: UInt64 -
The number of retransmitted bytes
Declaration
Swift
public let byteRetrans: UInt64 -
The number of too-late-to-send dropped bytes
Declaration
Swift
public let byteSndDrop: UInt64 -
The number of too-late-to play missing bytes (estimate based on average packet size)
Declaration
Swift
public let byteRcvDrop: UInt64 -
The number of undecrypted bytes
Declaration
Swift
public let byteRcvUndecrypt: UInt64 -
The packet sending period, in microseconds
Declaration
Swift
public let usPktSndPeriod: Double -
The flow window size, in number of packets
Declaration
Swift
public let pktFlowWindow: Int32 -
The congestion window size, in number of packets
Declaration
Swift
public let pktCongestionWindow: Int32 -
The number of packets on flight
Declaration
Swift
public let pktFlightSize: Int32 -
The RTT, in milliseconds
Declaration
Swift
public let msRTT: Double -
The estimated bandwidth, in Mb/s
Declaration
Swift
public let mbpsBandwidth: Double -
The available UDT sender buffer size
Declaration
Swift
public let byteAvailSndBuf: Int32 -
The available UDT receiver buffer size
Declaration
Swift
public let byteAvailRcvBuf: Int32 -
The transmit Bandwidth ceiling (Mbps)
Declaration
Swift
public let mbpsMaxBW: Double -
The MTU
Declaration
Swift
public let byteMSS: Int32 -
The UnACKed packets in UDT sender
Declaration
Swift
public let pktSndBuf: Int32 -
The UnACKed bytes in UDT sender
Declaration
Swift
public let byteSndBuf: Int32 -
The UnACKed timespan (msec) of UDT sender
Declaration
Swift
public let msSndBuf: Int32 -
Timestamp-based Packet Delivery Delay
Declaration
Swift
public let msSndTsbPdDelay: Int32 -
Undelivered packets in UDT receiver
Declaration
Swift
public let pktRcvBuf: Int32 -
The undelivered bytes of UDT receiver
Declaration
Swift
public let byteRcvBuf: Int32 -
The undelivered timespan (msec) of UDT receiver
Declaration
Swift
public let msRcvBuf: Int32 -
The Timestamp-based Packet Delivery Delay
Declaration
Swift
public let msRcvTsbPdDelay: Int32 -
The number of control packets supplied by packet filter
Declaration
Swift
public let pktSndFilterExtraTotal: Int32 -
The number of control packets received and not supplied back
Declaration
Swift
public let pktRcvFilterExtraTotal: Int32 -
The number of packets that the filter supplied extra (e.g. FEC rebuilt)
Declaration
Swift
public let pktRcvFilterSupplyTotal: Int32 -
The number of packet loss not coverable by filter
Declaration
Swift
public let pktRcvFilterLossTotal: Int32 -
The number of control packets supplied by packet filter
Declaration
Swift
public let pktSndFilterExtra: Int32 -
The number of control packets received and not supplied back
Declaration
Swift
public let pktRcvFilterExtra: Int32 -
The number of packets that the filter supplied extra (e.g. FEC rebuilt)
Declaration
Swift
public let pktRcvFilterSupply: Int32 -
The number of packet loss not coverable by filter
Declaration
Swift
public let pktRcvFilterLoss: Int32 -
The packet reorder tolerance value
Declaration
Swift
public let pktReorderTolerance: Int32