Package org.jitsi.service.neomedia.stats
Interface MediaStreamStats2
-
- All Superinterfaces:
MediaStreamStats
- All Known Implementing Classes:
MediaStreamStats2Impl
public interface MediaStreamStats2 extends MediaStreamStats
An extended interface for accessing the statistics of aMediaStream. The reason to extend theMediaStreamStatsinterface rather than adding methods into it is to allow the implementation to reside in a separate class. This is desirable in order to: 1. Help to keep the old interface for backward compatibility. 2. Provide a "clean" place where future code can be added, thus avoiding further cluttering of the already overly complicatedMediaStreamStatsImpl.- Author:
- Boris Grozev
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearSendSsrc(long ssrc)Clears send ssrc stats.Collection<? extends ReceiveTrackStats>getAllReceiveStats()Collection<? extends SendTrackStats>getAllSendStats()ReceiveTrackStatsgetReceiveStats()ReceiveTrackStatsgetReceiveStats(long ssrc)SendTrackStatsgetSendStats()SendTrackStatsgetSendStats(long ssrc)-
Methods inherited from interface org.jitsi.service.neomedia.MediaStreamStats
addRTCPPacketListener, getAvgDownloadJitterMs, getAvgUploadJitterMs, getDownloadJitterMs, getDownloadNbPacketLost, getDownloadPercentLoss, getDownloadRateKiloBitPerSec, getDownloadVideoSize, getEncoding, getEncodingClockRate, getJitterBufferDelayMs, getJitterBufferDelayPackets, getLocalIPAddress, getLocalPort, getMaxDownloadJitterMs, getMaxUploadJitterMs, getMinDownloadJitterMs, getMinUploadJitterMs, getNbDiscarded, getNbDiscardedFull, getNbDiscardedLate, getNbDiscardedReset, getNbDiscardedShrink, getNbFec, getNbPackets, getNbPacketsLost, getNbPacketsReceived, getNbPacketsSent, getNbReceivedBytes, getNbSentBytes, getPacketQueueCountPackets, getPacketQueueSize, getPercentDiscarded, getRemoteIPAddress, getRemotePort, getRTCPReports, getRttMs, getSendingBitrate, getUploadJitterMs, getUploadNbPacketLost, getUploadPercentLoss, getUploadRateKiloBitPerSec, getUploadVideoSize, isAdaptiveBufferEnabled, removeRTCPPacketListener, updateStats
-
-
-
-
Method Detail
-
getReceiveStats
ReceiveTrackStats getReceiveStats()
- Returns:
- the instance which keeps aggregate statistics for the associated
MediaStreamin the receive direction.
-
getSendStats
SendTrackStats getSendStats()
- Returns:
- the instance which keeps aggregate statistics for the associated
MediaStreamin the send direction.
-
getReceiveStats
ReceiveTrackStats getReceiveStats(long ssrc)
- Returns:
- the instance which keeps statistics for a particular SSRC in the receive direction.
-
getSendStats
SendTrackStats getSendStats(long ssrc)
- Returns:
- the instance which keeps statistics for a particular SSRC in the send direction.
-
getAllSendStats
Collection<? extends SendTrackStats> getAllSendStats()
- Returns:
- all per-SSRC statistics for the send direction.
-
getAllReceiveStats
Collection<? extends ReceiveTrackStats> getAllReceiveStats()
- Returns:
- all per-SSRC statistics for the receive direction.
-
clearSendSsrc
void clearSendSsrc(long ssrc)
Clears send ssrc stats.- Parameters:
ssrc- the ssrc to clear.
-
-