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

Issue 1725363003: Move RTP module activation into PayloadRouter. (Closed)

Created:
4 years, 10 months ago by pbos-webrtc
Modified:
4 years, 10 months ago
Reviewers:
stefan-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhuangzesen_agora.io, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, andresp, the sun, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move RTP module activation into PayloadRouter. Simplifies PayloadRouter to not accept dynamically-changing modules as well as usage of PayloadRouter inside ViEChannel::SetSendCodec. BUG=webrtc:5494 R=stefan@webrtc.org TBR=mflodman@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/8b79b07a55a857370848724385f3d1f38c52213f

Patch Set 1 #

Total comments: 10

Patch Set 2 : feedback #

Patch Set 3 : DCHECK SetTargetSendBitrates size, then set all of them #

Patch Set 4 : change RTP_PAYLOAD_SIZE to unsigned #

Patch Set 5 : nuke comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -104 lines) Patch
M webrtc/common_types.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_rtcp.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.h View 1 chunk +5 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/payload_router.h View 1 2 3 4 2 chunks +9 lines, -11 lines 0 comments Download
M webrtc/video/payload_router.cc View 1 2 5 chunks +39 lines, -20 lines 0 comments Download
M webrtc/video/payload_router_unittest.cc View 1 2 7 chunks +12 lines, -17 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/video/vie_channel.cc View 1 5 chunks +15 lines, -46 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
pbos-webrtc
PTAL, I think this makes PayloadRouter easier.
4 years, 10 months ago (2016-02-24 15:23:33 UTC) #2
pbos-webrtc
PTAL
4 years, 10 months ago (2016-02-24 15:31:05 UTC) #3
stefan-webrtc
https://codereview.webrtc.org/1725363003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1725363003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode254 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:254: return rtp_sender_.RegisterPayload(video_codec.plName, video_codec.plType, Call RegisterVideoSendPayload() https://codereview.webrtc.org/1725363003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender.cc File webrtc/modules/rtp_rtcp/source/rtp_sender.cc (right): ...
4 years, 10 months ago (2016-02-26 14:49:08 UTC) #4
pbos-webrtc
feedback
4 years, 10 months ago (2016-02-26 14:58:55 UTC) #5
pbos-webrtc
PTAL https://codereview.webrtc.org/1725363003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc File webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc (right): https://codereview.webrtc.org/1725363003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc#newcode254 webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:254: return rtp_sender_.RegisterPayload(video_codec.plName, video_codec.plType, On 2016/02/26 14:49:07, stefan-webrtc (holmer) ...
4 years, 10 months ago (2016-02-26 14:58:56 UTC) #6
pbos-webrtc
DCHECK SetTargetSendBitrates size, then set all of them
4 years, 10 months ago (2016-02-26 15:08:24 UTC) #7
pbos-webrtc
change RTP_PAYLOAD_SIZE to unsigned
4 years, 10 months ago (2016-02-26 15:15:04 UTC) #8
pbos-webrtc
nuke comment
4 years, 10 months ago (2016-02-26 15:19:08 UTC) #9
stefan-webrtc
lgtm
4 years, 10 months ago (2016-02-26 15:22:08 UTC) #10
pbos-webrtc
TBR=mflodman@ for common_types.h
4 years, 10 months ago (2016-02-26 15:31:29 UTC) #13
pbos-webrtc
Committed patchset #5 (id:80001) manually as 8b79b07a55a857370848724385f3d1f38c52213f (presubmit successful).
4 years, 10 months ago (2016-02-26 15:31:49 UTC) #16
commit-bot: I haz the power
4 years, 10 months ago (2016-02-26 15:31:50 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8b79b07a55a857370848724385f3d1f38c52213f
Cr-Commit-Position: refs/heads/master@{#11787}

Powered by Google App Engine
This is Rietveld 408576698