public class SendTrackStatsImpl extends AbstractTrackStats implements SendTrackStats
Modifier and Type | Field and Description |
---|---|
(package private) org.ice4j.util.RateStatistics |
packetsNotSentRate
Rate of packet that we did not send (i.e.
|
bitrate, bytes, bytesNotRetransmitted, bytesRetransmitted, packetRate, packets, packetsMissingFromCache, packetsNotRetransmitted, packetsRetransmitted
JITTER_UNSET
Constructor and Description |
---|
SendTrackStatsImpl(int interval,
long ssrc)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getHighestSent() |
double |
getLossRate()
Returns an estimation of the loss rate based on the most recent RTCP
Receiver Report that we received, and the rate of "non-sent" packets
(i.e.
|
(package private) void |
rtcpPacketSent(int length)
Notifies this instance that an RTCP packet with a given length in bytes
was sent (or is about to be sent).
|
(package private) void |
rtcpReceiverReportReceived(int fractionLost)
Notifies this instance that an RTCP Receiver Report with a given value
for the "fraction lost" field was received.
|
(package private) void |
rtpPacketSent(int seq,
int length)
Notifies this instance that an RTP packet with a particular sequence
number was sent (or is about to be sent).
|
getBitrate, getBytes, getBytesNotRetransmitted, getBytesRetransmitted, getCurrentBytes, getCurrentPackets, getInterval, getJitter, getPacketRate, getPackets, getPacketsMissingFromCache, getPacketsNotRetransmitted, getPacketsRetransmitted, getRtt, getSSRC, packetProcessed, rtpPacketCacheMiss, rtpPacketNotRetransmitted, rtpPacketRetransmitted, setJitter, setRtt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBitrate, getBytes, getBytesNotRetransmitted, getBytesRetransmitted, getCurrentBytes, getCurrentPackets, getInterval, getJitter, getPacketRate, getPackets, getPacketsMissingFromCache, getPacketsNotRetransmitted, getPacketsRetransmitted, getRtt, getSSRC
org.ice4j.util.RateStatistics packetsNotSentRate
SendTrackStatsImpl(int interval, long ssrc)
interval
- the interval in milliseconds over which average bit- and
packet-rates will be computed.void rtpPacketSent(int seq, int length)
seq
- the RTP sequence number.length
- the length in bytes.public double getLossRate()
getLossRate
in interface TrackStats
public int getHighestSent()
getHighestSent
in interface SendTrackStats
void rtcpPacketSent(int length)
length
- void rtcpReceiverReportReceived(int fractionLost)
fractionLost
- the value of the "fraction lost" field from an RTCP
Receiver Report as an unsigned integer.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.