OBJECT

NearRealTimeDataSRTNetworkInfo

The low-level network performance information for a SRT connection.

link GraphQL Schema definition

  • type NearRealTimeDataSRTNetworkInfo {
  • # Time elapsed since the SRT socket was started (after successful call to
  • # srt_connect(...) or srt_bind(...)), in milliseconds
  • msTimeStamp: Long
  • # The total number of sent data packets, including retransmitted packets.
  • # Applicable for data sender.
  • pktSentTotal: Long
  • # The total number of received packets, including received retransmitted packets.
  • # Applicable for data receiver.
  • pktRecvTotal: Long
  • # The total number of data packets considered or reported lost (sender side). Does
  • # not correspond to packets detected as lost at receiving side. Applicable for
  • # data sender.
  • pktSndLossTotal: Int
  • # The total number of data packets detected lost on the receiver's side.
  • pktRcvLossTotal: Int
  • # The total number of retransmitted packets. Calculated on the sender's side only.
  • # Not exchanged with the receiver.
  • pktRetransTotal: Int
  • # The total number of sent ACK packets. Applicable for data sender.
  • pktSentACKTotal: Int
  • # The total number of received ACK packets. Applicable for data receiver.
  • pktRecvACKTotal: Int
  • # The total number of NAK (Not Acknowledged) packets sent. Essentially means LOSS
  • # reports. Applicable for data sender.
  • pktSentNAKTotal: Int
  • # The total number of NAK (Not Acknowledged) packets received. Essentially means
  • # LOSS reports. Applicable for data receiver.
  • pktRecvNAKTotal: Int
  • # The total accumulated time in microseconds, during which the SRT sender has some
  • # data to transmit, including packets that were sent, but is waiting for
  • # acknowledgement. In other words, the total accumulated duration in microseconds
  • # when there was something to deliver (non-empty senders' buffer). Applicable for
  • # data sender.
  • usSndDurationTotal: Long
  • # The number of (too late to send) packets dropped by sender (refer to TLPKTDROP).
  • pktSndDropTotal: Int
  • # The number of (too late to play) missing packets. Receiver only.
  • pktRcvDropTotal: Int
  • # Same as pktSentTotal, but expressed in bytes, including payload and all headers
  • # (SRT+UDP+IP). 20 bytes IPv4 + 8 bytes of UDP + 16 bytes SRT header. Sender side.
  • byteSentTotal: Long
  • # Same as pktRecvTotal, but expressed in bytes, including payload and all headers
  • # (SRT+UDP+IP). 20 bytes IPv4 + 8 bytes of UDP + 16 bytes SRT header. Receiver
  • # side.
  • byteRecvTotal: Long
  • # Same as pktRcvLossTotal, but expressed in bytes, including payload and all
  • # headers (SRT+UDP+IP). 20 bytes IPv4 + 8 bytes of UDP + 16 bytes SRT header.
  • # Receiver side
  • byteRcvLossTotal: Long
  • # Same as pktRetransTotal, but expressed in bytes, including payload and all
  • # headers (SRT+UDP+IP). 20 bytes IPv4 + 8 bytes of UDP + 16 bytes SRT header.
  • # Sender side only.
  • byteRetransTotal: Long
  • # Same as pktSndDropTotal, but expressed in bytes, including payload and all
  • # headers (SRT+UDP+IP). 20 bytes IPv4 + 8 bytes of UDP + 16 bytes SRT header.
  • # Sender side only.
  • byteSndDropTotal: Long
  • # Same as pktRcvDropTotal, but expressed in bytes, including payload and all
  • # headers (SRT+UDP+IP). Bytes for dropped packet payloads are estimated based on
  • # average packet size. 20 bytes IPv4 + 8 bytes of UDP + 16 bytes SRT header.
  • # Receiver side only.
  • byteRcvDropTotal: Long
  • # Current minimum time interval between which consecutive packets are sent, in
  • # microseconds. Sender only.
  • usPktSndPeriod: Float
  • # The maximum number of packets that can be (in flight). Sender only.
  • pktFlowWindow: Int
  • # Congestion window size, in number of packets. Sender only.
  • pktCongestionWindow: Int
  • # The number of packets in flight. Sender only.
  • pktFlightSize: Int
  • # Calculated Round trip time (RTT), in milliseconds. Sender and Receiver. The
  • # value is calculated by the receiver based on the incoming ACKACK control packets
  • # (used by sender to acknowledge ACKs from receiver).
  • msRTT: Float
  • # Estimated bandwidth of the network link, in Mbps. Sender only.
  • mbpsBandwidth: Float
  • # The available space in the sender's buffer, in bytes. Sender only.
  • byteAvailSndBuf: Int
  • # The available space in the receiver's buffer, in bytes. Receiver only.
  • byteAvailRcvBuf: Int
  • # Transmission bandwidth limit, in Mbps. Sender only. Usually this is the setting
  • # from the SRTO_MAXBW option, which may include the value 0 (unlimited). Under
  • # certain conditions a nonzero value might be be provided by a congestion control
  • # module, although none of the built-in congestion control modules currently use
  • # it.
  • mbpsMaxBW: Float
  • # Maximum Segment Size (MSS), in bytes.
  • byteMSS: Int
  • # The number of packets in the sender's buffer that are already scheduled for
  • # sending or even possibly sent, but not yet acknowledged. Sender only.
  • pktSndBuf: Int
  • # Instantaneous (current) value of pktSndBuf, but expressed in bytes, including
  • # payload and all headers (SRT+UDP+IP).
  • byteSndBuf: Int
  • # The timespan (msec) of packets in the sender's buffer (unacknowledged packets).
  • # Sender only.
  • msSndBuf: Int
  • # Timestamp-based Packet Delivery Delay value of the peer. If SRTO_TSBPDMODE is on
  • # (default for live mode), it returns the value of SRTO_PEERLATENCY, otherwise 0.
  • # The sender reports the TSBPD delay value of the receiver. The receiver reports
  • # the TSBPD delay of the sender.
  • msSndTsbPdDelay: Int
  • # The number of acknowledged packets in receiver's buffer. Receiver only.
  • pktRcvBuf: Int
  • # Instantaneous (current) value of pktRcvBuf, expressed in bytes, including
  • # payload and all headers (SRT+UDP+IP).
  • byteRcvBuf: Int
  • # The timespan (msec) of acknowledged packets in the receiver's buffer. Receiver
  • # side.
  • msRcvBuf: Int
  • # Timestamp-based Packet Delivery Delay value set on the socket via
  • # SRTO_RCVLATENCY or SRTO_LATENCY. The value is used to apply TSBPD delay for
  • # reading the received data on the socket. Receiver side.
  • msRcvTsbPdDelay: Int
  • # The total size of send buffer in bytes.
  • szSndBuf: Int
  • # The total size of receive buffer in bytes.
  • szRcvBuf: Int
  • }