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

Unified Diff: webrtc/video/video_quality_test.h

Issue 2321463002: Adding audio only mode to video loopback test. (Closed)
Patch Set: on comments Created 4 years, 1 month 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/video/video_loopback.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/video_quality_test.h
diff --git a/webrtc/video/video_quality_test.h b/webrtc/video/video_quality_test.h
index 24320eb7ab167b0c0b04b6178e46480a4e0c7251..d06421ce6af15ec2bb48837c0b3968194a5f51f1 100644
--- a/webrtc/video/video_quality_test.h
+++ b/webrtc/video/video_quality_test.h
@@ -109,17 +109,22 @@ class VideoQualityTest : public test::CallTest {
// Helper methods for setting up the call.
void CreateCapturer();
- 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);
void StartEncodedFrameLogs(VideoSendStream* stream);
void StartEncodedFrameLogs(VideoReceiveStream* 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_;
+ std::unique_ptr<VideoEncoder> video_encoder_;
Clock* const clock_;
int receive_logs_;
« no previous file with comments | « webrtc/video/video_loopback.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698