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

Issue 2934103002: Allow WebRtcMediaEngine to be created from any thread. (Closed)

Created:
3 years, 6 months ago by Taylor Brandstetter
Modified:
3 years, 6 months ago
Reviewers:
the sun, kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Allow WebRtcMediaEngine to be created from any thread. This eliminates a thread hop in PeerConnectionFactory initialization, and will allow some code to be simplified. BUG=None Review-Url: https://codereview.webrtc.org/2934103002 Cr-Commit-Position: refs/heads/master@{#18613} Committed: https://chromium.googlesource.com/external/webrtc/+/eb02c03a53734b6faf01d7f98a6174918169b850

Patch Set 1 #

Total comments: 3

Patch Set 2 : Adding DCHECK for encoder_factory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -38 lines) Patch
M webrtc/media/base/fakemediaengine.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/base/mediaengine.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/engine/webrtcmediaengine.h View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 4 chunks +6 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 5 chunks +43 lines, -20 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine_unittest.cc View 8 chunks +8 lines, -0 lines 0 comments Download
M webrtc/pc/peerconnectionfactory.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/pc/peerconnectionfactory.cc View 2 chunks +5 lines, -15 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Taylor Brandstetter
https://codereview.webrtc.org/2934103002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc File webrtc/media/engine/webrtcvoiceengine.cc (right): https://codereview.webrtc.org/2934103002/diff/1/webrtc/media/engine/webrtcvoiceengine.cc#newcode336 webrtc/media/engine/webrtcvoiceengine.cc:336: if (voe()->engine()) { Note that this wasn't necessary before ...
3 years, 6 months ago (2017-06-13 21:35:51 UTC) #6
Taylor Brandstetter
3 years, 6 months ago (2017-06-14 17:34:58 UTC) #8
Taylor Brandstetter
PTAL. This change would help simplify https://codereview.webrtc.org/2854123003/
3 years, 6 months ago (2017-06-14 17:59:15 UTC) #9
the sun
LGTM Note though, that generally, allowing half-initialized objects is a bad idea. :) A more ...
3 years, 6 months ago (2017-06-15 07:38:19 UTC) #10
Taylor Brandstetter
On 2017/06/15 07:38:19, the sun wrote: > LGTM > > Note though, that generally, allowing ...
3 years, 6 months ago (2017-06-15 15:05:59 UTC) #11
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/2934103002/20001
3 years, 6 months ago (2017-06-15 15:06:12 UTC) #14
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 15:29:31 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/eb02c03a53734b6faf01d7f98...

Powered by Google App Engine
This is Rietveld 408576698