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

Unified Diff: webrtc/test/call_test.h

Issue 2794193003: Move SelectMediaType from RampUpTester to BaseTest. (Closed)
Patch Set: Created 3 years, 8 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/call/rampup_tests.cc ('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 b4f665821ee2ffa420a6465835a4dc310e8b3961..b96e5e6e112a7e831c08f15ea8b5eb2b87d95259 100644
--- a/webrtc/test/call_test.h
+++ b/webrtc/test/call_test.h
@@ -192,7 +192,10 @@ class BaseTest : public RtpRtcpObserver {
virtual Call::Config GetReceiverCallConfig();
virtual void OnCallsCreated(Call* sender_call, Call* receiver_call);
- // The default implementation creates MediaType::VIDEO transports.
+ // Returns VIDEO for video-only tests, AUDIO for audio-only tests,
+ // and ANY for tests sending audio and video over the same
+ // transport.
+ virtual MediaType SelectMediaType();
virtual test::PacketTransport* CreateSendTransport(Call* sender_call);
virtual test::PacketTransport* CreateReceiveTransport();
« no previous file with comments | « webrtc/call/rampup_tests.cc ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698