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

Issue 1394243006: Move ownership of send ViEChannels and ViEEncoder to VideoSendStream. (Closed)

Created:
5 years, 2 months ago by mflodman
Modified:
5 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), 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 ownership of send ViEChannels and ViEEncoder to VideoSendStream. This is the first CL to get ready for adapting audio bitrate based on BWE. I've kept this CL as small as possible and had to add a few getters to ChannelManager. The next CL will do the same for receive ViEChannels. The getters are a bit uggly, but is an in-between-state. Let's discuss future ownership of the different modules and what do do with ChannelGroup. BUG=webrtc:5079 Committed: https://crrev.com/949c2f04b4156095090e02f3f13613aadacce88d Cr-Commit-Position: refs/heads/master@{#10298}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Based on pbos, stefan feedback. #

Total comments: 2

Patch Set 3 : Return instead #

Patch Set 4 : Removed header leftovers. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -127 lines) Patch
M webrtc/video/video_send_stream.h View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 7 chunks +58 lines, -9 lines 0 comments Download
M webrtc/video_engine/vie_channel.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video_engine/vie_channel.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/video_engine/vie_channel_group.h View 1 2 3 4 chunks +12 lines, -16 lines 0 comments Download
M webrtc/video_engine/vie_channel_group.cc View 1 2 6 chunks +42 lines, -95 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
mflodman
5 years, 2 months ago (2015-10-15 08:55:57 UTC) #2
stefan-webrtc
https://codereview.webrtc.org/1394243006/diff/1/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/1394243006/diff/1/webrtc/video/video_send_stream.cc#newcode140 webrtc/video/video_send_stream.cc:140: RTC_DCHECK(!ssrcs.empty()); No need to DCHECK this here and on ...
5 years, 2 months ago (2015-10-15 11:33:45 UTC) #3
pbos-webrtc
https://codereview.webrtc.org/1394243006/diff/1/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/1394243006/diff/1/webrtc/video/video_send_stream.cc#newcode144 webrtc/video/video_send_stream.cc:144: config.pre_encode_callback, channel_group_->pacer(), Do we want pacer/allocator through constructor instead ...
5 years, 2 months ago (2015-10-15 12:07:55 UTC) #4
mflodman
https://codereview.webrtc.org/1394243006/diff/1/webrtc/video/video_send_stream.cc File webrtc/video/video_send_stream.cc (right): https://codereview.webrtc.org/1394243006/diff/1/webrtc/video/video_send_stream.cc#newcode140 webrtc/video/video_send_stream.cc:140: RTC_DCHECK(!ssrcs.empty()); On 2015/10/15 11:33:45, stefan-webrtc (holmer) wrote: > No ...
5 years, 2 months ago (2015-10-15 14:39:22 UTC) #5
pbos-webrtc
lgtm, but please return an uint32_t since it can't fail. :) https://codereview.webrtc.org/1394243006/diff/20001/webrtc/video_engine/vie_channel.cc File webrtc/video_engine/vie_channel.cc (right): ...
5 years, 2 months ago (2015-10-15 14:41:44 UTC) #6
mflodman
https://codereview.webrtc.org/1394243006/diff/20001/webrtc/video_engine/vie_channel.cc File webrtc/video_engine/vie_channel.cc (right): https://codereview.webrtc.org/1394243006/diff/20001/webrtc/video_engine/vie_channel.cc#newcode728 webrtc/video_engine/vie_channel.cc:728: void ViEChannel::GetRemoteSSRC(uint32_t* ssrc) { On 2015/10/15 14:41:44, pbos-webrtc wrote: ...
5 years, 2 months ago (2015-10-15 14:47:43 UTC) #7
stefan-webrtc
lgtm https://codereview.webrtc.org/1394243006/diff/1/webrtc/video_engine/vie_channel_group.cc File webrtc/video_engine/vie_channel_group.cc (right): https://codereview.webrtc.org/1394243006/diff/1/webrtc/video_engine/vie_channel_group.cc#newcode288 webrtc/video_engine/vie_channel_group.cc:288: } On 2015/10/15 14:39:22, mflodman wrote: > On ...
5 years, 2 months ago (2015-10-16 06:51:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1394243006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1394243006/60001
5 years, 2 months ago (2015-10-16 09:30:08 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-16 09:31:14 UTC) #12
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 09:31:23 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/949c2f04b4156095090e02f3f13613aadacce88d
Cr-Commit-Position: refs/heads/master@{#10298}

Powered by Google App Engine
This is Rietveld 408576698