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

Unified Diff: webrtc/test/call_test.h

Issue 2694203002: Low-bandwidth audio testing (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/call_test.h
diff --git a/webrtc/test/call_test.h b/webrtc/test/call_test.h
index f1540bf8993141ca8b00b40c1165c98252faf9cf..78fbbfbe4372d98a8a3ad0172472723dda8a0786 100644
--- a/webrtc/test/call_test.h
+++ b/webrtc/test/call_test.h
@@ -83,7 +83,9 @@ class CallTest : public ::testing::Test {
int width,
int height);
void CreateFrameGeneratorCapturer(int framerate, int width, int height);
- void CreateFakeAudioDevices();
+ void CreateFakeAudioDevices(
+ std::unique_ptr<FakeAudioDevice::Capturer> capturer,
+ std::unique_ptr<FakeAudioDevice::Renderer> renderer);
void CreateVideoStreams();
void CreateAudioStreams();
@@ -161,6 +163,11 @@ class BaseTest : public RtpRtcpObserver {
virtual size_t GetNumAudioStreams() const;
virtual size_t GetNumFlexfecStreams() const;
+ virtual std::unique_ptr<FakeAudioDevice::Capturer> CreateCapturer();
+ virtual std::unique_ptr<FakeAudioDevice::Renderer> CreateRenderer();
+ virtual void OnFakeAudioDevicesCreated(FakeAudioDevice* send_audio_device,
+ FakeAudioDevice* recv_audio_device);
+
virtual Call::Config GetSenderCallConfig();
virtual Call::Config GetReceiverCallConfig();
virtual void OnCallsCreated(Call* sender_call, Call* receiver_call);
@@ -194,6 +201,8 @@ class BaseTest : public RtpRtcpObserver {
virtual void OnFrameGeneratorCapturerCreated(
FrameGeneratorCapturer* frame_generator_capturer);
+ virtual void OnTestFinished();
+
webrtc::RtcEventLogNullImpl event_log_;
};
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698