public static RTCStatList getPCStatOvertime(WebDriver webDriver, String peerConnection, int durationInMilliSeconds, int intervalInMilliSeconds, String platform)
      throws KiteTestException {
    return getPCStatOvertime(webDriver, peerConnection, durationInMilliSeconds, intervalInMilliSeconds, null, 0, platform);
  }
stat JsonObjectBuilder to add to callback result.

@param webDriver              used to execute command.
@param peerConnection         the peer connection
@param durationInMilliSeconds during which the stats will be collected.
@param intervalInMilliSeconds between each time getStats gets called.

@return JsonObjectBuilder of the stat object
@throws KiteTestException the kite test exception
KITE-Framework/src/main/java/org/webrtc/kite/stats/StatsUtils.java