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

Issue 2430603003: Implement qpSum stat for 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
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Implement qpSum stat for 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/87da40488330817c483e2f27848f73ea730a1c4f Cr-Commit-Position: refs/heads/master@{#14851}

Patch Set 1 : Unittests for send stream qpSum. #

Patch Set 2 : Add statscollector changes. #

Patch Set 3 : Rebase. #

Patch Set 4 : Statscollector send ssrc unittest for qp_sum #

Total comments: 6

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

Total comments: 8

Patch Set 6 : Rebase. #

Patch Set 7 : Change qp_sum to rtc::Optional<uint64_t>. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -11 lines) Patch
M webrtc/api/statscollector.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/api/statscollector_unittest.cc View 1 2 3 4 5 6 2 chunks +3 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 5 6 1 chunk +1 line, -0 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 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 3 4 5 6 1 chunk +18 lines, -11 lines 2 comments Download
M webrtc/video/send_statistics_proxy_unittest.cc View 1 2 3 4 5 6 1 chunk +22 lines, -0 lines 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (9 generated)
sakal
PTAL qpSum will overflow if we have a video stream open for more than a ...
4 years, 2 months ago (2016-10-18 11:24:18 UTC) #3
tommi
Lgtm. I think it might be good to think about if overflow will be a ...
4 years, 2 months ago (2016-10-19 09:24:54 UTC) #4
hbos
https://codereview.webrtc.org/2430603003/diff/80001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.webrtc.org/2430603003/diff/80001/webrtc/media/base/mediachannel.h#newcode689 webrtc/media/base/mediachannel.h:689: int qp_sum; Should be uint32_t. What about the decoded ...
4 years, 2 months ago (2016-10-20 17:08:21 UTC) #6
sakal
https://codereview.chromium.org/2430603003/diff/80001/webrtc/media/base/mediachannel.h File webrtc/media/base/mediachannel.h (right): https://codereview.chromium.org/2430603003/diff/80001/webrtc/media/base/mediachannel.h#newcode689 webrtc/media/base/mediachannel.h:689: int qp_sum; On 2016/10/20 17:08:21, hbos wrote: > Should ...
4 years, 2 months ago (2016-10-21 08:59:43 UTC) #7
hta-webrtc
I don't think this is ready; I don't understand from the tests what will happen ...
4 years, 2 months ago (2016-10-21 09:13:12 UTC) #8
sakal
Currently, qpSum works for VP8 and VP9. It will also work for H264 once kthelgason@ ...
4 years, 2 months ago (2016-10-21 14:17:26 UTC) #11
hta-webrtc
lgtm One comment on code I don't understand, but it's not new in this CL, ...
4 years, 1 month ago (2016-10-27 12:22:36 UTC) #12
hbos
lgtm https://codereview.webrtc.org/2430603003/diff/180001/webrtc/video/send_statistics_proxy.cc File webrtc/video/send_statistics_proxy.cc (right): https://codereview.webrtc.org/2430603003/diff/180001/webrtc/video/send_statistics_proxy.cc#newcode515 webrtc/video/send_statistics_proxy.cc:515: } On 2016/10/27 12:22:35, hta-webrtc wrote: > I ...
4 years, 1 month ago (2016-10-28 09:25:14 UTC) #13
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/2430603003/180001
4 years, 1 month ago (2016-10-31 13:26:13 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 1 month ago (2016-10-31 13:53:50 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 13:53:55 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/87da40488330817c483e2f27848f73ea730a1c4f
Cr-Commit-Position: refs/heads/master@{#14851}

Powered by Google App Engine
This is Rietveld 408576698