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

Issue 2368223002: Add VideoSendStream::Stats::prefered_media_bitrate_bps (Closed)

Created:
4 years, 2 months ago by perkj_webrtc
Modified:
4 years, 2 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, the sun, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add VideoSendStream::Stats::prefered_media_bitrate_bps This cl move calculation of stats for prefered_media_bitrate_bps from webrtcvideoengine2.GetStats to SendStatisticsProxy::OnEncoderReconfigured. This aligns better with how other send stats are reported and is needed as a prerequisite for moving video encoder configuration due to video resolution change from WebRtcVideoEngine2 to ViEEncoder. BUG=webrtc:6371 R=mflodman@webrtc.org, sprang@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/a48ddb763695dd6742fdcb6f0e5fa4f9818595e7

Patch Set 1 #

Patch Set 2 : fix spelling #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : Added logging. #

Patch Set 5 : Use SimulcastRateAllocator #

Total comments: 4

Patch Set 6 : Addressed code review comments. #

Patch Set 7 : Rebased #

Total comments: 1

Patch Set 8 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -73 lines) Patch
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 6 2 chunks +1 line, -9 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 2 chunks +12 lines, -4 lines 0 comments Download
M webrtc/modules/video_coding/utility/simulcast_rate_allocator.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc View 1 2 3 4 5 2 chunks +10 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/utility/simulcast_rate_allocator_unittest.cc View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/video/send_statistics_proxy.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 3 4 1 chunk +9 lines, -6 lines 0 comments Download
M webrtc/video/send_statistics_proxy_unittest.cc View 1 2 3 4 5 6 7 5 chunks +25 lines, -6 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 3 4 5 6 7 4 chunks +13 lines, -6 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 3 4 5 6 7 6 chunks +47 lines, -39 lines 0 comments Download
M webrtc/video_send_stream.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
perkj_webrtc
Please?
4 years, 2 months ago (2016-09-26 11:27:20 UTC) #2
sprang_webrtc
https://codereview.webrtc.org/2368223002/diff/40001/webrtc/video/vie_encoder.cc File webrtc/video/vie_encoder.cc (right): https://codereview.webrtc.org/2368223002/diff/40001/webrtc/video/vie_encoder.cc#newcode440 webrtc/video/vie_encoder.cc:440: static_cast<uint32_t>(max_data_payload_length)) == VCM_OK; Can we add getter to VideoSender ...
4 years, 2 months ago (2016-09-26 11:50:02 UTC) #3
perkj_webrtc
ptal https://codereview.webrtc.org/2368223002/diff/40001/webrtc/video/vie_encoder.cc File webrtc/video/vie_encoder.cc (right): https://codereview.webrtc.org/2368223002/diff/40001/webrtc/video/vie_encoder.cc#newcode440 webrtc/video/vie_encoder.cc:440: static_cast<uint32_t>(max_data_payload_length)) == VCM_OK; On 2016/09/26 11:50:02, språng wrote: ...
4 years, 2 months ago (2016-09-27 10:49:29 UTC) #5
sprang_webrtc
lgtm with nits https://codereview.webrtc.org/2368223002/diff/100001/webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc File webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc (right): https://codereview.webrtc.org/2368223002/diff/100001/webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc#newcode71 webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc:71: for (auto& rate : rates) { ...
4 years, 2 months ago (2016-09-27 10:55:07 UTC) #6
perkj_webrtc
Adding mflodman as well since Åsa is ooo. https://codereview.webrtc.org/2368223002/diff/100001/webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc File webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc (right): https://codereview.webrtc.org/2368223002/diff/100001/webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc#newcode71 webrtc/modules/video_coding/utility/simulcast_rate_allocator.cc:71: for ...
4 years, 2 months ago (2016-09-27 11:33:12 UTC) #8
mflodman
One super tiny nit, then LGTM. https://codereview.webrtc.org/2368223002/diff/140001/webrtc/video/vie_encoder.h File webrtc/video/vie_encoder.h (right): https://codereview.webrtc.org/2368223002/diff/140001/webrtc/video/vie_encoder.h#newcode103 webrtc/video/vie_encoder.h:103: class ConfigureEncoderTask; Alphabetic ...
4 years, 2 months ago (2016-09-28 16:33:10 UTC) #9
perkj_webrtc
4 years, 2 months ago (2016-09-29 09:49:07 UTC) #12
Message was sent while issue was closed.
Committed patchset #8 (id:160001) manually as
a48ddb763695dd6742fdcb6f0e5fa4f9818595e7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698