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

Issue 1542653002: Add audio streams to CallTest and a first A/V call test. (Closed)

Created:
5 years ago by stefan-webrtc
Modified:
4 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, tterriberry_mozilla.com, mflodman, the sun, perkj_webrtc, andresp
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add audio streams to CallTest and a first A/V call test. Add audio send and receive streams to CallTest and call the necessary voice engine APIs for the streams to be usable. Verifies the implementation by adding a simple test which monitors outgoing packets and checks that both audio and video is being sent with transport sequence numbers. Audio streams are using a fake audio device with file input. The CallTest implementation is to a big degree based on call_perf_tests.cc and should in the future replace a lot of that code. R=pbos@webrtc.org TBR=kjellander@webrtc.org BUG=webrtc:5263 Committed: https://crrev.com/9fea80f50daab46f20d4a6fc67b0144fbbbf56cd Cr-Commit-Position: refs/heads/master@{#11171}

Patch Set 1 #

Patch Set 2 : Implemented a simple transport seq num observation test instead. #

Patch Set 3 : Fix comment. #

Patch Set 4 : Create audio devices earlier #

Total comments: 2

Patch Set 5 : Disable test on Android since no files are available. #

Patch Set 6 : Fix win compile issue? #

Patch Set 7 : Fix win compile issue? #

Patch Set 8 : Fix win compile issue? #

Patch Set 9 : Now then? #

Patch Set 10 : Win issue fixed. #

Total comments: 18

Patch Set 11 : Comments addressed. #

Total comments: 1

Patch Set 12 : Comment addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -151 lines) Patch
M webrtc/call/bitrate_estimator_tests.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webrtc/call/call_perf_tests.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/call/packet_injection_tests.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/test/call_test.h View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +75 lines, -11 lines 0 comments Download
M webrtc/test/call_test.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +245 lines, -50 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 9 10 34 chunks +119 lines, -49 lines 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 3 4 5 6 7 8 9 10 17 chunks +30 lines, -29 lines 0 comments Download
M webrtc/video_engine_tests.isolate View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 45 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1542653002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1542653002/40001
5 years ago (2015-12-21 16:43:02 UTC) #2
stefan-webrtc
5 years ago (2015-12-21 16:43:11 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_compile_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_compile_dbg/builds/2032)
5 years ago (2015-12-21 16:46:15 UTC) #7
stefan-webrtc
On 2015/12/21 16:46:15, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years ago (2015-12-21 17:05:24 UTC) #8
stefan-webrtc
Create audio devices earlier
5 years ago (2015-12-22 08:54:29 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1542653002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1542653002/60001
5 years ago (2015-12-22 08:56:14 UTC) #11
commit-bot: I haz the power
Dry run: Exceeded global retry quota
5 years ago (2015-12-22 09:00:48 UTC) #13
stefan-webrtc
Disable test on Android since no files are available.
5 years ago (2015-12-22 10:09:00 UTC) #14
stefan-webrtc
Fix win compile issue?
5 years ago (2015-12-22 10:37:40 UTC) #15
stefan-webrtc
Fix win compile issue?
5 years ago (2015-12-22 10:51:42 UTC) #16
stefan-webrtc
Fix win compile issue?
5 years ago (2015-12-22 11:14:01 UTC) #17
stefan-webrtc
Now then?
5 years ago (2015-12-22 13:51:36 UTC) #18
pbos-webrtc
https://codereview.webrtc.org/1542653002/diff/60001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1542653002/diff/60001/webrtc/call/call_unittest.cc#newcode189 webrtc/call/call_unittest.cc:189: RunBaseTest(&test, FakeNetworkPipe::Config()); Wondering if this could be confused being ...
4 years, 12 months ago (2015-12-28 22:22:31 UTC) #19
stefan-webrtc
https://codereview.webrtc.org/1542653002/diff/60001/webrtc/call/call_unittest.cc File webrtc/call/call_unittest.cc (right): https://codereview.webrtc.org/1542653002/diff/60001/webrtc/call/call_unittest.cc#newcode189 webrtc/call/call_unittest.cc:189: RunBaseTest(&test, FakeNetworkPipe::Config()); On 2015/12/28 22:22:31, pbos-webrtc wrote: > Wondering ...
4 years, 11 months ago (2015-12-29 09:37:07 UTC) #20
pbos-webrtc
On 2015/12/29 09:37:07, stefan-webrtc (holmer) wrote: > https://codereview.webrtc.org/1542653002/diff/60001/webrtc/call/call_unittest.cc > File webrtc/call/call_unittest.cc (right): > > https://codereview.webrtc.org/1542653002/diff/60001/webrtc/call/call_unittest.cc#newcode189 ...
4 years, 11 months ago (2015-12-30 17:19:59 UTC) #21
stefan-webrtc
Win issue fixed.
4 years, 11 months ago (2016-01-07 11:49:44 UTC) #22
stefan-webrtc
Mr. Gates to the rescue. PTAL!
4 years, 11 months ago (2016-01-07 11:50:01 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1542653002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1542653002/180001
4 years, 11 months ago (2016-01-07 11:50:18 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2720)
4 years, 11 months ago (2016-01-07 11:56:53 UTC) #27
pbos-webrtc
let me take another look https://codereview.webrtc.org/1542653002/diff/180001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/1542653002/diff/180001/webrtc/test/call_test.cc#newcode56 webrtc/test/call_test.cc:56: if (audio_enabled) { Put ...
4 years, 11 months ago (2016-01-07 14:23:37 UTC) #28
stefan-webrtc
Comments addressed.
4 years, 11 months ago (2016-01-07 15:16:36 UTC) #29
stefan-webrtc
https://codereview.webrtc.org/1542653002/diff/180001/webrtc/test/call_test.cc File webrtc/test/call_test.cc (right): https://codereview.webrtc.org/1542653002/diff/180001/webrtc/test/call_test.cc#newcode56 webrtc/test/call_test.cc:56: if (audio_enabled) { On 2016/01/07 14:23:37, pbos-webrtc wrote: > ...
4 years, 11 months ago (2016-01-07 15:16:44 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1542653002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1542653002/200001
4 years, 11 months ago (2016-01-07 15:42:20 UTC) #32
pbos-webrtc
lgtm https://codereview.webrtc.org/1542653002/diff/200001/webrtc/test/call_test.h File webrtc/test/call_test.h (right): https://codereview.webrtc.org/1542653002/diff/200001/webrtc/test/call_test.h#newcode110 webrtc/test/call_test.h:110: struct OldVoiceEngine { VoiceEngineState
4 years, 11 months ago (2016-01-07 15:49:02 UTC) #33
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-07 16:39:13 UTC) #35
stefan-webrtc
Comment addressed
4 years, 11 months ago (2016-01-07 16:41:26 UTC) #36
stefan-webrtc
+kjellander, could you take a look at voice_engine_tests.isolate after the fact?
4 years, 11 months ago (2016-01-07 16:42:44 UTC) #38
stefan-webrtc
Committed patchset #12 (id:220001) manually as 9fea80f50daab46f20d4a6fc67b0144fbbbf56cd (presubmit successful).
4 years, 11 months ago (2016-01-07 16:43:38 UTC) #41
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/9fea80f50daab46f20d4a6fc67b0144fbbbf56cd Cr-Commit-Position: refs/heads/master@{#11171}
4 years, 11 months ago (2016-01-07 16:43:42 UTC) #43
stefan-webrtc
On 2016/01/07 16:42:44, stefan-webrtc (holmer) wrote: > +kjellander, could you take a look at voice_engine_tests.isolate ...
4 years, 11 months ago (2016-01-07 16:43:52 UTC) #44
kjellander_webrtc
4 years, 11 months ago (2016-01-07 19:14:16 UTC) #45
Message was sent while issue was closed.
webrtc/video_engine_tests.isolate: lgtm

Powered by Google App Engine
This is Rietveld 408576698