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

Issue 1236023010: In PeerConnectionTestWrapper, put audio input on a separate thread. (Closed)

Created:
5 years, 5 months ago by Taylor Brandstetter
Modified:
5 years, 4 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), Andrew MacDonald
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

In PeerConnectionTestWrapper, put audio input on a separate thread. This will prevent it from blocking network input when it falls behind, which is happening when running with ThreadSanitizer. BUG=webrtc:4663 Committed: https://crrev.com/ee8c6d327357ecd2e17edede8d15f6e3893409a8 Cr-Commit-Position: refs/heads/master@{#9707}

Patch Set 1 #

Patch Set 2 : Fixing potential deadlock in FakeAudioCaptureModule, caused by unnecessary call to Thread::Send #

Total comments: 1

Patch Set 3 : Changing name of thread, as suggested #

Patch Set 4 : Enabling PeerConnectionEndToEndTest.Call for Windows, since the issue with Windows seems to be the … #

Patch Set 5 : Making FakeAudioCaptureModule own its own worker thread, since that will solve the current threadin… #

Patch Set 6 : Do proper locking in FakeAdmTest #

Patch Set 7 : Using critical section to protect some members of webrtc::voe::Channel that are accessed on both th… #

Patch Set 8 : Use "nullptr" instead of "NULL" #

Total comments: 1

Patch Set 9 : resolving patch conflicts due to splitting this CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -70 lines) Patch
M talk/app/webrtc/peerconnection_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M talk/app/webrtc/peerconnectionendtoend_unittest.cc View 1 2 3 2 chunks +1 line, -12 lines 0 comments Download
M talk/app/webrtc/test/fakeaudiocapturemodule.h View 1 2 3 4 5 chunks +4 lines, -11 lines 0 comments Download
M talk/app/webrtc/test/fakeaudiocapturemodule.cc View 1 2 3 4 5 6 7 8 chunks +28 lines, -38 lines 0 comments Download
M talk/app/webrtc/test/fakeaudiocapturemodule_unittest.cc View 1 2 3 4 5 6 chunks +14 lines, -4 lines 0 comments Download
M talk/app/webrtc/test/peerconnectiontestwrapper.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M talk/app/webrtc/test/peerconnectiontestwrapper.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Taylor Brandstetter
5 years, 5 months ago (2015-07-18 00:21:38 UTC) #2
pthatcher1
lgtm https://codereview.webrtc.org/1236023010/diff/20001/talk/app/webrtc/test/peerconnectiontestwrapper.cc File talk/app/webrtc/test/peerconnectiontestwrapper.cc (right): https://codereview.webrtc.org/1236023010/diff/20001/talk/app/webrtc/test/peerconnectiontestwrapper.cc#newcode84 talk/app/webrtc/test/peerconnectiontestwrapper.cc:84: media_input_thread_.get()); I'd call it audio_capture_thread_ until we do ...
5 years, 5 months ago (2015-07-23 17:13:19 UTC) #3
Taylor Brandstetter
Hi Peter; could you review again when you get around to it? I changed a ...
5 years, 5 months ago (2015-07-24 02:52:37 UTC) #4
pthatcher1
lgtm if you pull the voice engine part into its own CL (you can submit ...
5 years, 5 months ago (2015-07-24 09:04:09 UTC) #5
Taylor Brandstetter
On 2015/07/24 09:04:09, pthatcher1 wrote: > lgtm if you pull the voice engine part into ...
5 years, 5 months ago (2015-07-24 19:34:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236023010/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1236023010/140001
5 years, 4 months ago (2015-08-13 19:23:41 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_gn_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_gn_rel/builds/5048) ios_arm64 on tryserver.webrtc (JOB_FAILED, ...
5 years, 4 months ago (2015-08-13 19:24:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236023010/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1236023010/160001
5 years, 4 months ago (2015-08-13 20:44:40 UTC) #13
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 4 months ago (2015-08-13 21:27:22 UTC) #14
commit-bot: I haz the power
5 years, 4 months ago (2015-08-13 21:27:32 UTC) #15
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/ee8c6d327357ecd2e17edede8d15f6e3893409a8
Cr-Commit-Position: refs/heads/master@{#9707}

Powered by Google App Engine
This is Rietveld 408576698