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

Unified Diff: webrtc/video/video_quality_test.h

Issue 2321463002: Adding audio only mode to video loopback test. (Closed)
Patch Set: Created 4 years, 3 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
Index: webrtc/video/video_quality_test.h
diff --git a/webrtc/video/video_quality_test.h b/webrtc/video/video_quality_test.h
index 3dd53e4837c14a8f9190ec8f161b4bdd213ebfb6..da2f83fef49b2e8c8b863b31e9d17535ee72c067 100644
--- a/webrtc/video/video_quality_test.h
+++ b/webrtc/video/video_quality_test.h
@@ -106,15 +106,20 @@ class VideoQualityTest : public test::CallTest {
// Helper methods for setting up the call.
void CreateCapturer(VideoCaptureInput* input);
- void SetupCommon(Transport* send_transport, Transport* recv_transport);
+ void SetupVideo(Transport* send_transport, Transport* recv_transport);
void SetupScreenshare();
+ void SetupAudio(int send_channel_id,
+ int receive_channel_id,
+ Call* call,
+ Transport* transport,
+ AudioReceiveStream** audio_receive_stream);
// We need a more general capturer than the FrameGeneratorCapturer.
- std::unique_ptr<test::VideoCapturer> capturer_;
+ std::unique_ptr<test::VideoCapturer> video_capturer_;
std::unique_ptr<test::TraceToStderr> trace_to_stderr_;
std::unique_ptr<test::FrameGenerator> frame_generator_;
- std::unique_ptr<VideoEncoder> encoder_;
- VideoCodecUnion codec_settings_;
+ std::unique_ptr<VideoEncoder> video_encoder_;
+ VideoCodecUnion video_codec_settings_;
Clock* const clock_;
Params params_;

Powered by Google App Engine
This is Rietveld 408576698