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

Issue 2546713002: Wire up RTCP XR target bitrate in rtp/rtcp module (Closed)

Created:
4 years ago by sprang_webrtc
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, danilchap, stefan-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Wire up RTCP XR target bitrate in rtp/rtcp module This is breakout of the rtcp parts of https://codereview.webrtc.org/2531383002/ BUG=webrtc:6301 Committed: https://crrev.com/5e38c967e0df72129e090a3ec2912b8f89e7a061 Cr-Commit-Position: refs/heads/master@{#15358}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -56 lines) Patch
M webrtc/modules/rtp_rtcp/include/rtp_rtcp.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.h View 7 chunks +16 lines, -13 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender.cc View 1 9 chunks +60 lines, -43 lines 3 comments Download
M webrtc/modules/rtp_rtcp/source/rtcp_sender_unittest.cc View 1 1 chunk +35 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
sprang_webrtc
4 years ago (2016-12-01 10:46:38 UTC) #2
danilchap
https://codereview.webrtc.org/2546713002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/2546713002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode49 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:49: } add comment // namespace https://codereview.webrtc.org/2546713002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode998 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:998: if (type ...
4 years ago (2016-12-01 11:52:05 UTC) #3
sprang_webrtc
https://codereview.webrtc.org/2546713002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/2546713002/diff/1/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode49 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:49: } On 2016/12/01 11:52:05, danilchap wrote: > add comment ...
4 years ago (2016-12-01 12:31:01 UTC) #4
danilchap
lgtm
4 years ago (2016-12-01 12:32:54 UTC) #5
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/2546713002/20001
4 years ago (2016-12-01 12:51:55 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-01 13:18:13 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5e38c967e0df72129e090a3ec2912b8f89e7a061 Cr-Commit-Position: refs/heads/master@{#15358}
4 years ago (2016-12-01 13:18:27 UTC) #11
stefan-webrtc
I just want to finish the discussion, better do it here than in the previous ...
4 years ago (2016-12-01 14:28:30 UTC) #13
sprang_webrtc
https://codereview.webrtc.org/2546713002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right): https://codereview.webrtc.org/2546713002/diff/20001/webrtc/modules/rtp_rtcp/source/rtcp_sender.cc#newcode860 webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:860: feedback_state.has_last_xr_rr || video_bitrate_allocation_) { On 2016/12/01 14:28:30, stefan-webrtc (holmer) ...
4 years ago (2016-12-01 14:38:50 UTC) #14
stefan-webrtc
4 years ago (2016-12-01 14:43:18 UTC) #15
Message was sent while issue was closed.
https://codereview.webrtc.org/2546713002/diff/20001/webrtc/modules/rtp_rtcp/s...
File webrtc/modules/rtp_rtcp/source/rtcp_sender.cc (right):

https://codereview.webrtc.org/2546713002/diff/20001/webrtc/modules/rtp_rtcp/s...
webrtc/modules/rtp_rtcp/source/rtcp_sender.cc:860: feedback_state.has_last_xr_rr
|| video_bitrate_allocation_) {
On 2016/12/01 14:38:50, språng wrote:
> On 2016/12/01 14:28:30, stefan-webrtc (holmer) wrote:
> > > On 2016/12/01 08:42:20, stefan-webrtc (holmer) wrote:
> > > > Seems like we now have two checks for this. First here we check if any
> > > extended
> > > > reports should be added, then in BuildExtendedReports we check each of
> these
> > > > again to see which of them should be added. Why not keep as it was and
> just
> > > > SetFlag on those which are available here?
> > > 
> > > Because we don't want to have separate builders for each type, creating
> > > individual extended reports containing a single type. Any of them should
> > trigger
> > > just a single builder. If we set all the flags here, and map each of these
> > types
> > > to the same extended reports builder, we would call that multiple times,
and
> > > would then there have to check again if the various xr types have already
> been
> > > built. Or we would have to do a concurrent modification of the set that's
> > being
> > > iterated over. Neither are very nice options.
> > 
> > But previously we had separate functions for each extended report type and
> just
> > tied them together in the map. There was not a single BuildExtendedReports,
> and
> > therefore only a 1:1 mapping in the map. Does that no longer make sense?
> 
> Not really. Since the voip part isn't really used, rrtr and dlrr were
basically
> the only important ones and they go in opposite directions. With target
bitrate
> added, we would have the possibility of two different xr in the same
direction.
> Apart from the packet size inefficiency of sending two separate xr, this
caused
> problems with testing which relied on capturing the last xr sent/received
which
> would have necessitated a lot of refactoring in the tests in order to avoid
> raciness.

Ok :)

Powered by Google App Engine
This is Rietveld 408576698