コード例 #1
0
 /**
  * Get the Min of all the stats that are watched, for all the stats added with add() since the
  * creation of this <tt>HammerSummaryStats</tt>
  *
  * @return The Min of all the stats in JSON.
  */
 public String getAggregateMinJSON() {
   String str =
       String.format(
           FakeUserStats.jsonMediaStreamStatsTemplate,
           -1, // ssrc not needed here
           aggregateDownloadJitterMs.getMin(),
           aggregateDownloadPercentLoss.getMin(),
           aggregateDownloadRateKiloBitPerSec.getMin(),
           aggregateJitterBufferDelayMs.getMin(),
           aggregateJitterBufferDelayPackets.getMin(),
           aggregateNbDiscarded.getMin(),
           aggregateNbDiscardedFull.getMin(),
           aggregateNbDiscardedLate.getMin(),
           aggregateNbDiscardedReset.getMin(),
           aggregateNbDiscardedShrink.getMin(),
           aggregateNbFec.getMin(),
           aggregateNbPackets.getMin(),
           aggregateNbPacketsLost.getMin(),
           aggregateNbReceivedBytes.getMin(),
           aggregateNbSentBytes.getMin(),
           aggregatePacketQueueCountPackets.getMin(),
           aggregatePacketQueueSize.getMin(),
           aggregatePercentDiscarded.getMin(),
           aggregateRttMs.getMin(),
           aggregateUploadJitterMs.getMin(),
           aggregateUploadPercentLoss.getMin(),
           aggregateUploadRateKiloBitPerSec.getMin());
   return str;
 }