|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.transform.rtcp.StatisticsEngine
public class StatisticsEngine
Engine which don't transform packets, just listens for outgoing RTCP Packets and logs and stores statistical data for the stream.
| Field Summary | |
|---|---|
static String |
RTP_STAT_PREFIX
The rtp statistics prefix we use for every log. |
| Constructor Summary | |
|---|---|
StatisticsEngine(MediaStreamImpl stream)
Creates Statistic engine. |
|
| Method Summary | |
|---|---|
void |
close()
Close the transformer and underlying transform engine. |
long |
getLost()
Number of lost packets reported. |
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)
Transfers RTCP sender report feedback as new information about the upload stream for the MediaStreamStats. |
RawPacket |
transform(RawPacket pkt)
Transfers RTCP sender report feedback as new information about the download stream for the MediaStreamStats. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RTP_STAT_PREFIX
| Constructor Detail |
|---|
public StatisticsEngine(MediaStreamImpl stream)
stream - the stream creating us.| Method Detail |
|---|
public void close()
close in interface PacketTransformerpublic RawPacket transform(RawPacket pkt)
transform in interface PacketTransformerpkt - the packet
public RawPacket reverseTransform(RawPacket pkt)
reverseTransform in interface PacketTransformerpkt - the packet without any change.
public PacketTransformer getRTPTransformer()
getRTPTransformer in interface TransformEnginepublic PacketTransformer getRTCPTransformer()
getRTCPTransformer in interface TransformEnginepublic long getMaxInterArrivalJitter()
public long getMinInterArrivalJitter()
public long getLost()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||