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

Issue 2421193003: Implement framesEncoded stat in video send ssrc stats. (Closed)

Created:
4 years, 2 months ago by sakal
Modified:
4 years, 1 month ago
Reviewers:
tommi, hta-webrtc, hbos
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun, perkj_webrtc, mflodman, hta-webrtc, magjed_webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Implement framesEncoded stat in video send ssrc stats. Implemented as defined by this pull request: https://github.com/w3c/webrtc-stats/pull/70 BUG=webrtc:6541 Committed: https://crrev.com/43536c3d6a728407adbaabc5b2f2d7a42234234a Cr-Commit-Position: refs/heads/master@{#14734}

Patch Set 1 #

Patch Set 2 : Unittests. #

Total comments: 4

Patch Set 3 : Changes according to tommi's comments. #

Patch Set 4 : statscollector unittest #

Total comments: 4

Patch Set 5 : Change type of stat int -> uint32_t. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -2 lines) Patch
M webrtc/api/statscollector.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/statscollector_unittest.cc View 1 2 3 2 chunks +43 lines, -0 lines 0 comments Download
M webrtc/api/statstypes.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/api/statstypes.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/send_statistics_proxy_unittest.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 44 (21 generated)
sakal
PTAL
4 years, 2 months ago (2016-10-17 13:41:30 UTC) #3
hta-webrtc
Added hbos as reviewer since he's been doing the implementation of the "new API", which ...
4 years, 2 months ago (2016-10-17 13:48:45 UTC) #6
sakal
Right, I didn't realize we had unittests for these components. I will update them.
4 years, 2 months ago (2016-10-17 14:04:07 UTC) #7
sakal
I've now added a few unittests.
4 years, 2 months ago (2016-10-17 14:43:39 UTC) #8
hta-webrtc
lgtm (but wait for hbos' review) Thanks for adding the tests so fast!
4 years, 2 months ago (2016-10-17 16:11:09 UTC) #9
tommi
lgtm https://codereview.webrtc.org/2421193003/diff/20001/webrtc/video/send_statistics_proxy.cc File webrtc/video/send_statistics_proxy.cc (right): https://codereview.webrtc.org/2421193003/diff/20001/webrtc/video/send_statistics_proxy.cc#newcode446 webrtc/video/send_statistics_proxy.cc:446: stats_.frames_encoded++; nit: ++foo https://codereview.webrtc.org/2421193003/diff/20001/webrtc/video/send_statistics_proxy_unittest.cc File webrtc/video/send_statistics_proxy_unittest.cc (right): https://codereview.webrtc.org/2421193003/diff/20001/webrtc/video/send_statistics_proxy_unittest.cc#newcode308 ...
4 years, 2 months ago (2016-10-17 22:54:36 UTC) #10
sakal
https://codereview.webrtc.org/2421193003/diff/20001/webrtc/video/send_statistics_proxy.cc File webrtc/video/send_statistics_proxy.cc (right): https://codereview.webrtc.org/2421193003/diff/20001/webrtc/video/send_statistics_proxy.cc#newcode446 webrtc/video/send_statistics_proxy.cc:446: stats_.frames_encoded++; On 2016/10/17 22:54:36, tommi (webrtc) wrote: > nit: ...
4 years, 2 months ago (2016-10-18 07:59:50 UTC) #11
hbos
Can you add a statscollector_unittest.cc for this stat? Is this added to a "Channel-#" report? ...
4 years, 2 months ago (2016-10-18 18:12:30 UTC) #16
hbos
On 2016/10/18 18:12:30, hbos wrote: > Can you add a statscollector_unittest.cc for this stat? > ...
4 years, 2 months ago (2016-10-19 15:38:43 UTC) #17
sakal
On 2016/10/19 15:38:43, hbos wrote: > On 2016/10/18 18:12:30, hbos wrote: > > Can you ...
4 years, 2 months ago (2016-10-20 11:07:49 UTC) #20
hbos
lgtm
4 years, 2 months ago (2016-10-20 14:45:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2421193003/80001
4 years, 2 months ago (2016-10-20 14:48:55 UTC) #24
hbos
Just noticed one thing. https://codereview.webrtc.org/2421193003/diff/80001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2421193003/diff/80001/webrtc/media/base/mediachannel.h#newcode687 webrtc/media/base/mediachannel.h:687: int frames_encoded; Fix in this ...
4 years, 2 months ago (2016-10-20 16:45:08 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_clang_dbg on ...
4 years, 2 months ago (2016-10-20 16:49:27 UTC) #27
hbos
On 2016/10/20 16:45:08, hbos wrote: > Just noticed one thing. > > https://codereview.webrtc.org/2421193003/diff/80001/webrtc/media/base/mediachannel.h > File ...
4 years, 2 months ago (2016-10-20 16:57:14 UTC) #28
sakal
https://codereview.chromium.org/2421193003/diff/80001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.chromium.org/2421193003/diff/80001/webrtc/media/base/mediachannel.h#newcode687 webrtc/media/base/mediachannel.h:687: int frames_encoded; On 2016/10/20 16:45:08, hbos wrote: > Fix ...
4 years, 2 months ago (2016-10-21 08:38:34 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2421193003/100001
4 years, 2 months ago (2016-10-21 08:38:55 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_clang_dbg on ...
4 years, 2 months ago (2016-10-21 10:39:37 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2421193003/100001
4 years, 1 month ago (2016-10-21 13:45:48 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-10-21 15:46:24 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2421193003/100001
4 years, 1 month ago (2016-10-24 07:16:08 UTC) #40
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 1 month ago (2016-10-24 08:46:47 UTC) #42
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 09:26:59 UTC) #44
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/43536c3d6a728407adbaabc5b2f2d7a42234234a
Cr-Commit-Position: refs/heads/master@{#14734}

Powered by Google App Engine
This is Rietveld 408576698