Interface TrackStats

    • Field Detail

      • JITTER_UNSET

        static final double JITTER_UNSET
        The value that indicates that no values has been set for the jitter field.
        See Also:
        Constant Field Values
    • Method Detail

      • getSSRC

        long getSSRC()
        Returns:
        the SSRC associated with this TrackStats.
      • getJitter

        double getJitter()
        Returns:
        the jitter in milliseconds.
      • getBytes

        long getBytes()
        Returns:
        the total number of bytes.
      • getPackets

        long getPackets()
        Returns:
        the total number of packets.
      • getRtt

        long getRtt()
        Returns:
        the round trip time in milliseconds.
      • getBitrate

        long getBitrate()
        Returns:
        the current bitrate in bits per second.
      • getPacketRate

        long getPacketRate()
        Returns:
        the current packet rate in packets per second.
      • getCurrentBytes

        long getCurrentBytes()
        Returns:
        the number of bytes in the last interval.
      • getCurrentPackets

        long getCurrentPackets()
        Returns:
        the number of packets in the last interval.
      • getLossRate

        double getLossRate()
        Returns:
        an estimate for the recent loss rate.
      • getPacketsMissingFromCache

        long getPacketsMissingFromCache()
        Gets the number of packets for which retransmission was requested, but they were missing from the cache.
        Returns:
        the number of packets for which retransmission was requested, but they were missing from the cache.
      • getBytesRetransmitted

        long getBytesRetransmitted()
        Gets the number of bytes retransmitted.
        Returns:
        the number of bytes retransmitted.
      • getBytesNotRetransmitted

        long getBytesNotRetransmitted()
        Gets the number of bytes for packets which were requested and found in the cache, but were intentionally not retransmitted.
        Returns:
        the number of bytes for packets which were requested and found in the cache, but were intentionally not retransmitted.
      • getPacketsRetransmitted

        long getPacketsRetransmitted()
        Gets the number of packets retransmitted.
        Returns:
        the number of packets retransmitted.
      • getPacketsNotRetransmitted

        long getPacketsNotRetransmitted()
        Gets the number of packets which were requested and found in the cache, but were intentionally not retransmitted.
        Returns:
        the number of packets which were requested and found in the cache, but were intentionally not retransmitted.