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

Issue 2646073004: Make RTX pt/apt reconfigurable by calling WebRtcVideoChannel2::SetRecvParameters. (Closed)

Created:
3 years, 11 months ago by brandtr
Modified:
3 years, 11 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/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make RTX pt/apt reconfigurable by calling WebRtcVideoChannel2::SetRecvParameters. Prior to this CL, received RTX (associated) payload types were only configured when WebRtcVideoChannel2::AddRecvStream was called. In the same method, the RTX SSRC was set up. After this CL, the RTX (associated) payload types are set in WebRtcVideoChannel2::SetRecvParameters, which is the appropriate place to set them. The RTX SSRC is still set in WebRtcVideoChannel2::AddRecvStream, since that is the code path that sets other SSRCs. As part of this fix, the VideoReceiveStream::Config::Rtp struct is changed. We remove the possibility for each video payload type to have an associated specific RTX SSRC. Although the config previously allowed for this, all payload types always had the same RTX SSRC set, and the underlying RtpPayloadRegistry did not support multiple SSRCs. This change to the config struct should thus not have any functional impact. The change does however affect the RtcEventLog, since that is used for storing the VideoReceiveStream::Configs. For simplicity, this CL does not change the event log proto definitions, instead duplicating the serialized RTX SSRCs such that they fit in the existing proto definition. BUG=webrtc:7011 Review-Url: https://codereview.webrtc.org/2646073004 Cr-Commit-Position: refs/heads/master@{#16302} Committed: https://chromium.googlesource.com/external/webrtc/+/fe2bef39cd2a5c891a49f7320514fb04324dc66c

Patch Set 1 #

Total comments: 11

Patch Set 2 : Rebase. #

Patch Set 3 : Parser checks that all RTX SSRCs are the same. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase. #

Patch Set 7 : Fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -105 lines) Patch
M webrtc/call/call.cc View 1 2 3 4 5 6 1 chunk +2 lines, -5 lines 0 comments Download
M webrtc/call/rampup_tests.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/logging/rtc_event_log/rtc_event_log.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/logging/rtc_event_log/rtc_event_log_parser.cc View 1 2 3 4 2 chunks +20 lines, -5 lines 0 comments Download
M webrtc/logging/rtc_event_log/rtc_event_log_unittest.cc View 1 2 3 4 1 chunk +4 lines, -5 lines 0 comments Download
M webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.cc View 1 2 3 4 2 chunks +11 lines, -11 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 2 chunks +7 lines, -11 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 6 chunks +90 lines, -15 lines 0 comments Download
M webrtc/tools/event_log_visualizer/analyzer.cc View 1 2 3 4 1 chunk +5 lines, -7 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 4 chunks +9 lines, -9 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.cc View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 2 3 4 5 1 chunk +7 lines, -8 lines 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/video/video_receive_stream.cc View 1 2 3 4 5 1 chunk +4 lines, -6 lines 0 comments Download
M webrtc/video_receive_stream.h View 1 2 3 4 5 6 2 chunks +6 lines, -12 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
brandtr
Please take a look. holmer: General. magjed: VideoEngine2 and interaction to dynamic payload types. terelius: ...
3 years, 11 months ago (2017-01-20 14:49:23 UTC) #5
brandtr
Forgot to add reviewers... == Please take a look. holmer: General. magjed: VideoEngine2 and interaction ...
3 years, 11 months ago (2017-01-20 14:50:11 UTC) #7
magjed_webrtc
VideoEngine2 changes lgtm
3 years, 11 months ago (2017-01-23 10:19:17 UTC) #8
brandtr
Rebase.
3 years, 11 months ago (2017-01-23 12:15:28 UTC) #9
stefan-webrtc
lgtm https://codereview.webrtc.org/2646073004/diff/40001/webrtc/media/engine/webrtcvideoengine2_unittest.cc File webrtc/media/engine/webrtcvideoengine2_unittest.cc (right): https://codereview.webrtc.org/2646073004/diff/40001/webrtc/media/engine/webrtcvideoengine2_unittest.cc#newcode2495 webrtc/media/engine/webrtcvideoengine2_unittest.cc:2495: EXPECT_EQ(kRtxSsrcs1[0], config_before.rtp.rtx.ssrcs[0]); Is it possible to break this ...
3 years, 11 months ago (2017-01-23 12:45:11 UTC) #10
terelius
lgtm with one question/comment: https://codereview.webrtc.org/2646073004/diff/40001/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc File webrtc/logging/rtc_event_log/rtc_event_log_parser.cc (right): https://codereview.webrtc.org/2646073004/diff/40001/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc#newcode322 webrtc/logging/rtc_event_log/rtc_event_log_parser.cc:322: config->rtp.rtx_ssrc = map.config().rtx_ssrc(); Check that ...
3 years, 11 months ago (2017-01-23 12:52:01 UTC) #11
brandtr
Answers to holmer and terelius. https://codereview.webrtc.org/2646073004/diff/40001/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc File webrtc/logging/rtc_event_log/rtc_event_log_parser.cc (right): https://codereview.webrtc.org/2646073004/diff/40001/webrtc/logging/rtc_event_log/rtc_event_log_parser.cc#newcode322 webrtc/logging/rtc_event_log/rtc_event_log_parser.cc:322: config->rtp.rtx_ssrc = map.config().rtx_ssrc(); On ...
3 years, 11 months ago (2017-01-24 10:04:41 UTC) #12
brandtr
Rebase.
3 years, 11 months ago (2017-01-24 13:27:58 UTC) #13
brandtr
Rebase.
3 years, 11 months ago (2017-01-26 09:18:14 UTC) #14
brandtr
Rebase.
3 years, 11 months ago (2017-01-26 14:08:57 UTC) #15
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/2646073004/160001
3 years, 11 months ago (2017-01-26 15:37:45 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:160001) as https://chromium.googlesource.com/external/webrtc/+/fe2bef39cd2a5c891a49f7320514fb04324dc66c
3 years, 11 months ago (2017-01-26 16:04:08 UTC) #28
kjellander (google.com)
3 years, 11 months ago (2017-01-26 21:20:55 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:160001) has been created in
https://codereview.webrtc.org/2649323010/ by kjellander@google.com.

The reason for reverting is: Breaks internal downstream project..

Powered by Google App Engine
This is Rietveld 408576698