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

Issue 1913073002: Extract common simulcast logic from VP8 wrapper and simulcast adapter (Closed)

Created:
4 years, 8 months ago by sprang_webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Extract common simulcast logic from VP8 wrapper and simulcast adapter Move duplicate logic for rate allocation and sending/keyframe state to a new SimulcastState class instead. --------------- I'm closing this and replacing it, starting with https://codereview.webrtc.org/2288223002.

Patch Set 1 #

Patch Set 2 : Fix for weird usage from integration test #

Patch Set 3 : Bug fix #

Total comments: 15

Patch Set 4 : Address comments, added tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+763 lines, -412 lines) Patch
M webrtc/modules/modules.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h View 1 2 3 2 chunks +12 lines, -35 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc View 1 2 3 12 chunks +87 lines, -223 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc View 1 2 3 5 chunks +25 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.h View 1 2 3 3 chunks +3 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 1 2 3 20 chunks +42 lines, -128 lines 0 comments Download
A webrtc/modules/video_coding/utility/simulcast_state.h View 1 2 3 1 chunk +59 lines, -0 lines 1 comment Download
A webrtc/modules/video_coding/utility/simulcast_state.cc View 1 2 3 1 chunk +201 lines, -0 lines 0 comments Download
A webrtc/modules/video_coding/utility/simulcast_state_unittest.cc View 1 2 3 1 chunk +304 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/utility/video_coding_utility.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/video/payload_router.h View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M webrtc/video/payload_router.cc View 1 2 3 2 chunks +18 lines, -12 lines 0 comments Download
M webrtc/video/video_send_stream.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
sprang_webrtc
4 years, 8 months ago (2016-04-25 13:00:54 UTC) #2
pbos-webrtc
Some initial feedback. stefan@ I need a second pair of eyes on this, it's complex. ...
4 years, 7 months ago (2016-04-29 21:23:27 UTC) #4
stefan-webrtc
4 years, 7 months ago (2016-05-06 11:43:21 UTC) #5
https://codereview.webrtc.org/1913073002/diff/60001/webrtc/modules/video_codi...
File webrtc/modules/video_coding/utility/simulcast_state.h (right):

https://codereview.webrtc.org/1913073002/diff/60001/webrtc/modules/video_codi...
webrtc/modules/video_coding/utility/simulcast_state.h:27: void
RequestKeyFrame(uint8_t idx);
Could we split this class in two and have one for rate allocation and another
one for things like key frames etc? Then we could potentially move the
allocation part out from the codecs entirely and put it inside, e.g.,
BitrateAllocator instead, which would then allocate several bitrates for a
simulcast send-stream.

Powered by Google App Engine
This is Rietveld 408576698