Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Issue 1875873002: Filter out undesired initial -1 values. (Closed)

Created:
4 years, 8 months ago by Zhi Huang
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Filter out some variables with initial -1 in the stats report. If we call GetStats in PeerConnection before receiving the remote answer, we will get some variables in the StatsReports which are initially set to be -1. Several conditions are added when extracting the info for the report in StatsCollector. Those variables include: gooRtt, dataChannelId, googEchoCancellationEchoDelayMedian, googEchoCancellationEchoQualityMin, googEchoCancellationEchoDelayStdDev, googJitterReceived, audioInputLevel, googCaptureStartNtpTimeMs packetsLost. BUG=webrtc:3377 Committed: https://crrev.com/6ba3b1976f3d8298450ac89697868d1ee0b6c66a Cr-Commit-Position: refs/heads/master@{#12735}

Patch Set 1 #

Patch Set 2 : Add a unit test for StatsCollector. #

Patch Set 3 : Filter out other undesired initial -1. #

Patch Set 4 : Fix the unit test after merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -17 lines) Patch
M webrtc/api/statscollector.cc View 1 2 3 7 chunks +37 lines, -16 lines 0 comments Download
M webrtc/api/statscollector_unittest.cc View 1 2 3 4 chunks +174 lines, -1 line 0 comments Download

Messages

Total messages: 22 (12 generated)
Zhi Huang
4 years, 8 months ago (2016-04-19 01:20:05 UTC) #6
Taylor Brandstetter
I think there are some other stats that are -1 initially. Some I found: datachannelid ...
4 years, 8 months ago (2016-04-23 00:18:14 UTC) #7
Zhi Huang
On 2016/04/23 00:18:14, Taylor Brandstetter wrote: > I think there are some other stats that ...
4 years, 8 months ago (2016-04-23 00:23:36 UTC) #8
Zhi Huang
4 years, 8 months ago (2016-04-26 23:03:21 UTC) #10
pthatcher1
lgtm
4 years, 7 months ago (2016-04-29 22:39:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1875873002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1875873002/40001
4 years, 7 months ago (2016-05-09 18:56:43 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/3824)
4 years, 7 months ago (2016-05-09 19:13:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1875873002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1875873002/60001
4 years, 7 months ago (2016-05-13 17:37:31 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-13 18:46:45 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 18:47:02 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6ba3b1976f3d8298450ac89697868d1ee0b6c66a
Cr-Commit-Position: refs/heads/master@{#12735}

Powered by Google App Engine
This is Rietveld 408576698