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

Issue 2871623002: Update video adaptation stats to support degradations in both resolution and framerate. (Closed)

Created:
3 years, 7 months ago by åsapersson
Modified:
3 years, 7 months ago
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, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Update adaptation stats to support degradations in both resolution and framerate. Add AdaptCounter class which holds the number of downgrade counts per degradation way (resolution/fps) and reason (cpu/quality). BUG=webrtc:7607 Review-Url: https://codereview.webrtc.org/2871623002 Cr-Commit-Position: refs/heads/master@{#18156} Committed: https://chromium.googlesource.com/external/webrtc/+/09f05616757ed8d6215ad5dd5b1eb270625c1a7c

Patch Set 1 #

Total comments: 23

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : address comment #

Total comments: 2

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+586 lines, -269 lines) Patch
M webrtc/video/send_statistics_proxy.h View 3 chunks +16 lines, -6 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 5 chunks +47 lines, -44 lines 0 comments Download
M webrtc/video/send_statistics_proxy_unittest.cc View 1 20 chunks +186 lines, -109 lines 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 3 3 chunks +50 lines, -9 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 12 chunks +148 lines, -72 lines 0 comments Download
M webrtc/video/vie_encoder_unittest.cc View 29 chunks +137 lines, -29 lines 0 comments Download
M webrtc/video_send_stream.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
åsapersson
3 years, 7 months ago (2017-05-09 08:12:18 UTC) #6
kthelgason
https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/send_statistics_proxy.h File webrtc/video/send_statistics_proxy.h (right): https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/send_statistics_proxy.h#newcode67 webrtc/video/send_statistics_proxy.h:67: const ViEEncoder::AdaptCounts& quality_counts); It seems wrong to me that ...
3 years, 7 months ago (2017-05-09 11:50:15 UTC) #9
åsapersson
https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/send_statistics_proxy.h File webrtc/video/send_statistics_proxy.h (right): https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/send_statistics_proxy.h#newcode67 webrtc/video/send_statistics_proxy.h:67: const ViEEncoder::AdaptCounts& quality_counts); On 2017/05/09 11:50:14, kthelgason wrote: > ...
3 years, 7 months ago (2017-05-10 08:24:46 UTC) #11
kthelgason
lgtm https://codereview.webrtc.org/2871623002/diff/100001/webrtc/video/vie_encoder.h File webrtc/video/vie_encoder.h (right): https://codereview.webrtc.org/2871623002/diff/100001/webrtc/video/vie_encoder.h#newcode220 webrtc/video/vie_encoder.h:220: ViEEncoder::AdaptCounts GetActiveCounts(AdaptReason reason) this scope resolution isn't needed, ...
3 years, 7 months ago (2017-05-10 08:32:46 UTC) #12
åsapersson
https://codereview.webrtc.org/2871623002/diff/100001/webrtc/video/vie_encoder.h File webrtc/video/vie_encoder.h (right): https://codereview.webrtc.org/2871623002/diff/100001/webrtc/video/vie_encoder.h#newcode220 webrtc/video/vie_encoder.h:220: ViEEncoder::AdaptCounts GetActiveCounts(AdaptReason reason) On 2017/05/10 08:32:46, kthelgason wrote: > ...
3 years, 7 months ago (2017-05-10 09:07:48 UTC) #13
sprang_webrtc
lgtm with nits https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/vie_encoder.h File webrtc/video/vie_encoder.h (right): https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/vie_encoder.h#newcode68 webrtc/video/vie_encoder.h:68: }; Maybe this can be declared ...
3 years, 7 months ago (2017-05-10 09:34:24 UTC) #14
åsapersson
https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/vie_encoder.h File webrtc/video/vie_encoder.h (right): https://codereview.webrtc.org/2871623002/diff/60001/webrtc/video/vie_encoder.h#newcode68 webrtc/video/vie_encoder.h:68: }; On 2017/05/10 09:34:23, sprang_webrtc wrote: > Maybe this ...
3 years, 7 months ago (2017-05-10 09:54:53 UTC) #15
åsapersson
Magnus, can you have a look at webrtc/video_send_stream.h
3 years, 7 months ago (2017-05-10 10:00:07 UTC) #17
sprang_webrtc
lgtm
3 years, 7 months ago (2017-05-11 09:39:46 UTC) #22
mflodman
video_send_stream.h lgtm
3 years, 7 months ago (2017-05-11 09:50:32 UTC) #23
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/2871623002/140001
3 years, 7 months ago (2017-05-15 06:47:07 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_asan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_asan/builds/24608)
3 years, 7 months ago (2017-05-15 07:44:12 UTC) #28
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/2871623002/140001
3 years, 7 months ago (2017-05-16 06:34:05 UTC) #30
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 06:40:24 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://chromium.googlesource.com/external/webrtc/+/09f05616757ed8d6215ad5dd5...

Powered by Google App Engine
This is Rietveld 408576698