| Index: tools/perf/metrics/webrtc_stats.py
|
| diff --git a/tools/perf/metrics/webrtc_stats.py b/tools/perf/metrics/webrtc_stats.py
|
| index c1995773283c007e56356d1e3586a7267981c042..4a787dd1afa16d87a8e5a9cda6d7a0cb689ad6ec 100644
|
| --- a/tools/perf/metrics/webrtc_stats.py
|
| +++ b/tools/perf/metrics/webrtc_stats.py
|
| @@ -37,7 +37,10 @@ def GetReportKind(report):
|
| if 'googFrameRateSent' in report or 'googFrameRateReceived' in report:
|
| return 'video'
|
|
|
| - logging.error('Did not recognize report batch: %s.', report.keys())
|
| + logging.debug('Did not recognize report batch: %s.', report.keys())
|
| + # There are other kinds of reports, such as bwestats, which we don't care
|
| + # about here. For these cases just return 'unknown' which will ignore the
|
| + # report
|
| return 'unknown'
|
|
|
|
|
| @@ -56,6 +59,8 @@ def SortStatsIntoTimeSeries(report_batches):
|
| for stat_name, value in report.iteritems():
|
| if stat_name not in INTERESTING_METRICS:
|
| continue
|
| + if GetReportKind(report) == 'unknown':
|
| + continue
|
| full_stat_name = DistinguishAudioAndVideo(report, stat_name)
|
| time_series.setdefault(full_stat_name, []).append(float(value))
|
|
|
|
|