public interface MediaStreamStats
Modifier and Type | Method and Description |
---|---|
void |
addRTCPPacketListener(RTCPPacketListener listener)
Adds a listener which will be notified when RTCP packets are received.
|
double |
getAvgDownloadJitterMs()
Gets the average of the RTP jitter values reported to us in RTCP reports,
in milliseconds.
|
double |
getAvgUploadJitterMs()
Gets the average of the RTP jitter values reported to us in RTCP reports,
in milliseconds.
|
double |
getDownloadJitterMs()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getDownloadNbPacketLost()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
double |
getDownloadPercentLoss()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
double |
getDownloadRateKiloBitPerSec()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
java.awt.Dimension |
getDownloadVideoSize()
Returns the download video size if this stream downloads a video, or
null if not.
|
java.lang.String |
getEncoding()
Returns the MediaStream enconding.
|
java.lang.String |
getEncodingClockRate()
Returns the MediaStream enconding rate (in Hz).
|
int |
getJitterBufferDelayMs()
Returns the delay in milliseconds introduced by the jitter buffer.
|
int |
getJitterBufferDelayPackets()
Returns the delay in number of packets introduced by the jitter buffer.
|
java.lang.String |
getLocalIPAddress()
Returns the local IP address of the MediaStream.
|
int |
getLocalPort()
Returns the local port of the MediaStream.
|
double |
getMaxDownloadJitterMs()
Gets the maximum RTP jitter value reported by us in an RTCP report, in
milliseconds.
|
double |
getMaxUploadJitterMs()
Gets the maximum RTP jitter value reported to us in an RTCP report, in
milliseconds.
|
double |
getMinDownloadJitterMs()
Gets the minimum RTP jitter value reported by us in an RTCP report, in
milliseconds.
|
double |
getMinUploadJitterMs()
Gets the minimum RTP jitter value reported to us in an RTCP report, in
milliseconds.
|
long |
getNbDiscarded()
Returns the total number of discarded packets since the beginning of the
session.
|
int |
getNbDiscardedFull()
Returns the number of packets discarded since the beginning of the
session, because the packet queue was full.
|
int |
getNbDiscardedLate()
Returns the number of packets discarded since the beginning of the
session, because they were late.
|
int |
getNbDiscardedReset()
Returns the number of packets discarded since the beginning of the
session, because the packet queue was reset.
|
int |
getNbDiscardedShrink()
Returns the number of packets discarded since the beginning of the
session, while the packet queue was shrinking.
|
long |
getNbFec()
Returns the number of packets for which FEC data was decoded.
|
long |
getNbPackets()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getNbPacketsLost()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getNbPacketsReceived()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getNbPacketsSent()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getNbReceivedBytes()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getNbSentBytes()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
int |
getPacketQueueCountPackets()
Returns the number of packets currently in the packet queue.
|
int |
getPacketQueueSize()
Returns the current size of the packet queue.
|
double |
getPercentDiscarded()
Returns the current percent of discarded packets.
|
java.lang.String |
getRemoteIPAddress()
Returns the remote IP address of the MediaStream.
|
int |
getRemotePort()
Returns the remote port of the MediaStream.
|
RTCPReports |
getRTCPReports()
Gets the detailed statistics about the RTCP reports sent and received by
the associated local peer.
|
long |
getRttMs()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getSendingBitrate()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
double |
getUploadJitterMs()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
long |
getUploadNbPacketLost()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
double |
getUploadPercentLoss()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
double |
getUploadRateKiloBitPerSec()
Deprecated.
use the appropriate method from
MediaStreamStats2
instead. |
java.awt.Dimension |
getUploadVideoSize()
Returns the upload video size if this stream uploads a video, or
null if not.
|
boolean |
isAdaptiveBufferEnabled()
Checks whether there is an adaptive jitter buffer enabled for at least
one of the ReceiveStreams of the MediaStreamImpl.
|
void |
removeRTCPPacketListener(RTCPPacketListener listener)
Removes a listener from the list of listeners which will be notified when
RTCP packets are received.
|
void |
updateStats()
Computes and updates information for a specific stream.
|
@Deprecated double getDownloadJitterMs()
MediaStreamStats2
instead.@Deprecated double getDownloadPercentLoss()
MediaStreamStats2
instead.@Deprecated double getDownloadRateKiloBitPerSec()
MediaStreamStats2
instead.java.awt.Dimension getDownloadVideoSize()
java.lang.String getEncoding()
java.lang.String getEncodingClockRate()
int getJitterBufferDelayMs()
int getJitterBufferDelayPackets()
java.lang.String getLocalIPAddress()
int getLocalPort()
@Deprecated long getNbReceivedBytes()
MediaStreamStats2
instead.@Deprecated long getNbSentBytes()
MediaStreamStats2
instead.long getNbDiscarded()
int getNbDiscardedFull()
int getNbDiscardedLate()
int getNbDiscardedReset()
int getNbDiscardedShrink()
long getNbFec()
@Deprecated long getNbPackets()
MediaStreamStats2
instead.@Deprecated long getNbPacketsLost()
MediaStreamStats2
instead.int getPacketQueueCountPackets()
int getPacketQueueSize()
double getPercentDiscarded()
java.lang.String getRemoteIPAddress()
int getRemotePort()
RTCPReports getRTCPReports()
@Deprecated long getRttMs()
MediaStreamStats2
instead.@Deprecated double getUploadJitterMs()
MediaStreamStats2
instead.@Deprecated double getUploadPercentLoss()
MediaStreamStats2
instead.@Deprecated double getUploadRateKiloBitPerSec()
MediaStreamStats2
instead.java.awt.Dimension getUploadVideoSize()
boolean isAdaptiveBufferEnabled()
void updateStats()
double getMinDownloadJitterMs()
double getMaxDownloadJitterMs()
double getAvgDownloadJitterMs()
double getMinUploadJitterMs()
double getMaxUploadJitterMs()
double getAvgUploadJitterMs()
@Deprecated long getNbPacketsSent()
MediaStreamStats2
instead.@Deprecated long getNbPacketsReceived()
MediaStreamStats2
instead.@Deprecated long getDownloadNbPacketLost()
MediaStreamStats2
instead.@Deprecated long getUploadNbPacketLost()
MediaStreamStats2
instead.void addRTCPPacketListener(RTCPPacketListener listener)
listener
- the listener.void removeRTCPPacketListener(RTCPPacketListener listener)
listener
- the listener.@Deprecated long getSendingBitrate()
MediaStreamStats2
instead.getUploadRateKiloBitPerSec()
. The duplication is necessary, because
of implementation details.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.