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

Issue 1461333002: Using Rent-A-Codec for static Codec access in WVoE/MC. (Closed)

Created:
5 years, 1 month ago by the sun
Modified:
5 years ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, kwiberg-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Using Rent-A-Codec for static Codec access in WVoE/MC. Mostly moved code around in WebRtcVoiceEngine: - Added new internal class WebRtcVoiceCodecs for static codec functions and the CodecPrefs. - ConstructCodecs() -> WebRtcVoiceCodecs::SupportedCodecs(). - FindWebRtcCodec -> WebRtcVoiceCodecs::ToCodecInst(). - WebRtcVoiceMediaChannel::SetRecvCodecsInternal() folded into WebRtcVoiceMediaChannel::SetRecvCodecs() (slight logic change). - Change to how SetRecPayloadType() is implemented in fakewebrtcvoiceengine.h (lines 460-470). BUG=webrtc:4690 Committed: https://crrev.com/26c8c91de2db5da06ff337aae48e1d725aa91ab7 Cr-Commit-Position: refs/heads/master@{#10819}

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : line lengths #

Patch Set 4 : remove unneeded API #

Total comments: 2

Patch Set 5 : rebase+comment #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+299 lines, -357 lines) Patch
M talk/media/webrtc/fakewebrtcvoiceengine.h View 1 2 3 4 11 chunks +14 lines, -52 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.h View 1 2 3 4 chunks +3 lines, -7 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.cc View 1 2 3 4 18 chunks +222 lines, -239 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine_unittest.cc View 1 2 9 chunks +60 lines, -59 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
the sun
5 years ago (2015-11-26 13:07:41 UTC) #3
kwiberg-webrtc
lgtm https://codereview.webrtc.org/1461333002/diff/60001/talk/media/webrtc/fakewebrtcvoiceengine.h File talk/media/webrtc/fakewebrtcvoiceengine.h (right): https://codereview.webrtc.org/1461333002/diff/60001/talk/media/webrtc/fakewebrtcvoiceengine.h#newcode320 talk/media/webrtc/fakewebrtcvoiceengine.h:320: ch->recv_codecs.push_back(c); auto db = webrtc::acm2::RentACodec::Database(); ch->recv_codecs.insert(ch->recv_codecs.end(), db.begin(), db.end()); ...
5 years ago (2015-11-26 14:13:56 UTC) #6
the sun
https://codereview.webrtc.org/1461333002/diff/60001/talk/media/webrtc/fakewebrtcvoiceengine.h File talk/media/webrtc/fakewebrtcvoiceengine.h (right): https://codereview.webrtc.org/1461333002/diff/60001/talk/media/webrtc/fakewebrtcvoiceengine.h#newcode320 talk/media/webrtc/fakewebrtcvoiceengine.h:320: ch->recv_codecs.push_back(c); On 2015/11/26 14:13:56, kwiberg-webrtc wrote: > auto db ...
5 years ago (2015-11-26 14:27:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461333002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461333002/80001
5 years ago (2015-11-26 14:27:32 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_rel on ...
5 years ago (2015-11-26 16:27:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461333002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461333002/80001
5 years ago (2015-11-26 18:06:02 UTC) #14
commit-bot: I haz the power
Exceeded global retry quota
5 years ago (2015-11-26 20:06:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1461333002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1461333002/100001
5 years ago (2015-11-27 09:00:52 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-11-27 12:00:30 UTC) #21
commit-bot: I haz the power
5 years ago (2015-11-27 12:00:36 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/26c8c91de2db5da06ff337aae48e1d725aa91ab7
Cr-Commit-Position: refs/heads/master@{#10819}

Powered by Google App Engine
This is Rietveld 408576698