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

Issue 468243003: Adding local stream mute tests, tightening up WebRTC audio tests. (Closed)

Created:
6 years, 4 months ago by phoglund_chromium
Modified:
6 years, 3 months ago
Reviewers:
perkj_chrome
CC:
chromium-reviews, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Adding local stream mute tests, tightening up WebRTC audio tests. These tests were originally made to cover http://crbug.com/398157. Alas, that bug turned out to be very difficult to test since it does not affect energy levels. That's what we use as a lightweight way to detect whether audio is playing, but the bug managed to make audio stop playing without affecting the levels. Still, I think the tests are useful. BUG=402860 R=perkj@chromium.org Committed: https://crrev.com/08965ad892f1536513da21601983ddd57d2584bf Cr-Commit-Position: refs/heads/master@{#291692}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Using events instead of reportTestSuccess #

Patch Set 3 : Fixed spelling error #

Total comments: 6

Patch Set 4 : Moved stuff into audio test utils, no longer printing sdp #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -59 lines) Patch
M content/browser/media/webrtc_browsertest.cc View 1 1 chunk +24 lines, -2 lines 0 comments Download
M content/test/data/media/peerconnection-call.html View 1 2 3 5 chunks +73 lines, -46 lines 0 comments Download
M content/test/data/media/webrtc_test_audio.js View 1 2 3 4 3 chunks +45 lines, -11 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
phoglund_chromium
6 years, 4 months ago (2014-08-13 16:50:50 UTC) #1
perkj_chrome
https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html File content/test/data/media/peerconnection-call.html (right): https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html#newcode354 content/test/data/media/peerconnection-call.html:354: remoteStream.getVideoTracks()[0].enabled = enabled; nit add assert that stream 0 ...
6 years, 4 months ago (2014-08-14 08:53:42 UTC) #2
phoglund_chromium
https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html File content/test/data/media/peerconnection-call.html (right): https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html#newcode425 content/test/data/media/peerconnection-call.html:425: callAndEnsureAudioIsPlaying(beLenient, {audio: true, video: true}); On 2014/08/14 08:53:42, perkj_ooo_until_25_of_August ...
6 years, 4 months ago (2014-08-14 09:17:38 UTC) #3
phoglund_chromium
On 2014/08/14 09:17:38, phoglund wrote: > https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html > File content/test/data/media/peerconnection-call.html (right): > > https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html#newcode425 > ...
6 years, 4 months ago (2014-08-14 09:20:45 UTC) #4
phoglund_chromium
ping
6 years, 4 months ago (2014-08-19 09:02:16 UTC) #5
phoglund_chromium
PTAL https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html File content/test/data/media/peerconnection-call.html (right): https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html#newcode354 content/test/data/media/peerconnection-call.html:354: remoteStream.getVideoTracks()[0].enabled = enabled; On 2014/08/14 08:53:41, perkj wrote: ...
6 years, 4 months ago (2014-08-25 09:41:46 UTC) #6
perkj_chrome
https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html File content/test/data/media/peerconnection-call.html (right): https://codereview.chromium.org/468243003/diff/1/content/test/data/media/peerconnection-call.html#newcode354 content/test/data/media/peerconnection-call.html:354: remoteStream.getVideoTracks()[0].enabled = enabled; On 2014/08/25 09:41:45, phoglund wrote: > ...
6 years, 4 months ago (2014-08-25 12:05:47 UTC) #7
phoglund_chromium
https://codereview.chromium.org/468243003/diff/40001/content/browser/media/webrtc_browsertest.cc File content/browser/media/webrtc_browsertest.cc (right): https://codereview.chromium.org/468243003/diff/40001/content/browser/media/webrtc_browsertest.cc#newcode360 content/browser/media/webrtc_browsertest.cc:360: EstablishAudioVideoCallAndVerifyRemoteMutingWorks) { On 2014/08/25 12:05:47, perkj wrote: > I ...
6 years, 4 months ago (2014-08-25 14:25:32 UTC) #8
perkj_chrome
lgtm
6 years, 4 months ago (2014-08-25 14:34:08 UTC) #9
phoglund_chromium
The CQ bit was checked by phoglund@chromium.org
6 years, 4 months ago (2014-08-25 14:35:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/phoglund@chromium.org/468243003/80001
6 years, 4 months ago (2014-08-25 14:36:55 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel_swarming on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-25 15:43:02 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (80001) as f855096be12b9e4f8268b0d37bf8a25c9149bedf
6 years, 3 months ago (2014-08-25 16:22:18 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:34:52 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/08965ad892f1536513da21601983ddd57d2584bf
Cr-Commit-Position: refs/heads/master@{#291692}

Powered by Google App Engine
This is Rietveld 408576698