public class StatisticsEngine extends SinglePacketTransformer implements TransformEngine
| Modifier and Type | Field and Description |
|---|---|
static String |
RTP_STAT_PREFIX
The RTP statistics prefix we use for every log.
|
| Constructor and Description |
|---|
StatisticsEngine(MediaStreamImpl stream)
Creates Statistic engine.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAvgInterArrivalJitter()
Gets the average value of the jitter reported in RTCP packets, in RTP
timestamp units.
|
long |
getMaxInterArrivalJitter()
The minimum inter arrival jitter value we have reported.
|
long |
getMinInterArrivalJitter()
The maximum inter arrival jitter value we have reported.
|
PacketTransformer |
getRTCPTransformer()
Returns a reference to this class since it is performing RTP
transformations in here.
|
PacketTransformer |
getRTPTransformer()
Always returns null since this engine does not require any
RTP transformations.
|
RawPacket |
reverseTransform(RawPacket pkt)
Parses incoming RTCP packets and notifies the
MediaStreamStats of
this instance about the reception of packets with known types (currently
these are RR, SR, XR, REMB, NACK). |
RawPacket |
transform(RawPacket pkt)
Transfers RTCP sender report feedback as new information about the
download stream for the MediaStreamStats.
|
close, reverseTransform, transformpublic static final String RTP_STAT_PREFIX
public StatisticsEngine(MediaStreamImpl stream)
stream - the stream creating us.public long getMaxInterArrivalJitter()
public double getAvgInterArrivalJitter()
public long getMinInterArrivalJitter()
public PacketTransformer getRTCPTransformer()
getRTCPTransformer in interface TransformEnginepublic PacketTransformer getRTPTransformer()
getRTPTransformer in interface TransformEnginepublic RawPacket reverseTransform(RawPacket pkt)
MediaStreamStats of
this instance about the reception of packets with known types (currently
these are RR, SR, XR, REMB, NACK).reverseTransform in class SinglePacketTransformerpkt - the packet to reverse-transformpublic RawPacket transform(RawPacket pkt)
transform in class SinglePacketTransformerpkt - the packet to transformCopyright © 2021 jitsi.org. All rights reserved.