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

Issue 2528933002: Adding OnReceivedOverhead to AudioEncoder. (Closed)

Created:
4 years ago by minyue-webrtc
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adding OnReceivedOverhead to AudioEncoder. BUG=webrtc:6762 Committed: https://crrev.com/eca373f3baf5c0c8059fe038ec9a458483f5dfb5 Cr-Commit-Position: refs/heads/master@{#15457}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixing and adding unittest #

Total comments: 3

Patch Set 3 : on Michael's comments #

Total comments: 6

Patch Set 4 : new touch #

Total comments: 16

Patch Set 5 : on Karl's comments #

Patch Set 6 : adding static_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -8 lines) Patch
M webrtc/modules/audio_coding/codecs/audio_encoder.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_encoder.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus.cc View 1 2 3 4 5 3 chunks +31 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc View 1 2 3 7 chunks +82 lines, -4 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
minyue-webrtc
Hi Michael, PTAL at this CL. It removes overhead rate from target rate for audio. ...
4 years ago (2016-11-24 13:31:10 UTC) #3
michaelt
https://codereview.webrtc.org/2528933002/diff/1/webrtc/modules/audio_coding/codecs/audio_encoder.cc File webrtc/modules/audio_coding/codecs/audio_encoder.cc (right): https://codereview.webrtc.org/2528933002/diff/1/webrtc/modules/audio_coding/codecs/audio_encoder.cc#newcode96 webrtc/modules/audio_coding/codecs/audio_encoder.cc:96: 8 * 1000 * *overhead_bytes_per_packet_ / Num10MsFramesInNextPacket(); I think ...
4 years ago (2016-11-24 13:55:18 UTC) #4
minyue-webrtc
Hi Micheal, Thanks for the review! I fixed the problem and added unittests.
4 years ago (2016-11-25 13:31:49 UTC) #5
michaelt
https://codereview.webrtc.org/2528933002/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc File webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc (right): https://codereview.webrtc.org/2528933002/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc#newcode19 webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc:19: using testing::_; testing::_ not used at the moment. https://codereview.webrtc.org/2528933002/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc#newcode20 ...
4 years ago (2016-11-28 09:26:58 UTC) #6
minyue-webrtc
On 2016/11/28 09:26:58, michaelt wrote: > https://codereview.webrtc.org/2528933002/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc > File webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc (right): > > https://codereview.webrtc.org/2528933002/diff/20001/webrtc/modules/audio_coding/codecs/audio_encoder_unittest.cc#newcode19 > ...
4 years ago (2016-11-28 10:29:37 UTC) #7
minyue-webrtc
I modified the test so that it looks clearer that I am testing the implemented ...
4 years ago (2016-11-28 14:33:43 UTC) #8
minyue-webrtc
Hi Karl, Micheal has seen this CL. Please also take a look. It would be ...
4 years ago (2016-11-28 14:52:03 UTC) #10
kwiberg-webrtc
https://codereview.webrtc.org/2528933002/diff/40001/webrtc/modules/audio_coding/codecs/audio_encoder.cc File webrtc/modules/audio_coding/codecs/audio_encoder.cc (right): https://codereview.webrtc.org/2528933002/diff/40001/webrtc/modules/audio_coding/codecs/audio_encoder.cc#newcode92 webrtc/modules/audio_coding/codecs/audio_encoder.cc:92: // Ignore the target bitrate is overhead is unknown. ...
4 years ago (2016-11-29 09:46:24 UTC) #11
minyue-webrtc
Hi Karl, I moved the implementation and unittests to Opus, since I find that only ...
4 years ago (2016-12-02 10:07:35 UTC) #15
kwiberg-webrtc
https://codereview.webrtc.org/2528933002/diff/120001/webrtc/modules/audio_coding/codecs/audio_encoder.h File webrtc/modules/audio_coding/codecs/audio_encoder.h (right): https://codereview.webrtc.org/2528933002/diff/120001/webrtc/modules/audio_coding/codecs/audio_encoder.h#newcode185 webrtc/modules/audio_coding/codecs/audio_encoder.h:185: // bytes that will be add to each payload ...
4 years ago (2016-12-03 00:30:57 UTC) #16
minyue-webrtc
Hi Karl, I tried to address your comments! PTAL again. https://codereview.webrtc.org/2528933002/diff/120001/webrtc/modules/audio_coding/codecs/audio_encoder.h File webrtc/modules/audio_coding/codecs/audio_encoder.h (right): https://codereview.webrtc.org/2528933002/diff/120001/webrtc/modules/audio_coding/codecs/audio_encoder.h#newcode185 ...
4 years ago (2016-12-06 09:04:19 UTC) #18
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2528933002/diff/120001/webrtc/modules/audio_coding/codecs/audio_encoder.h File webrtc/modules/audio_coding/codecs/audio_encoder.h (right): https://codereview.webrtc.org/2528933002/diff/120001/webrtc/modules/audio_coding/codecs/audio_encoder.h#newcode188 webrtc/modules/audio_coding/codecs/audio_encoder.h:188: // respectively, the encoder can decide its frame ...
4 years ago (2016-12-06 09:43:25 UTC) #19
minyue-webrtc
On 2016/12/06 09:43:25, kwiberg-webrtc wrote: > lgtm > > https://codereview.webrtc.org/2528933002/diff/120001/webrtc/modules/audio_coding/codecs/audio_encoder.h > File webrtc/modules/audio_coding/codecs/audio_encoder.h (right): > ...
4 years ago (2016-12-06 11:24:24 UTC) #20
michaelt
lgtm
4 years ago (2016-12-07 07:46:32 UTC) #21
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/2528933002/160001
4 years ago (2016-12-07 07:55:14 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/20432)
4 years ago (2016-12-07 08:04:19 UTC) #25
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/2528933002/180001
4 years ago (2016-12-07 09:23:58 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years ago (2016-12-07 09:40:42 UTC) #31
commit-bot: I haz the power
4 years ago (2016-12-07 09:40:46 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/eca373f3baf5c0c8059fe038ec9a458483f5dfb5
Cr-Commit-Position: refs/heads/master@{#15457}

Powered by Google App Engine
This is Rietveld 408576698