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

Unified Diff: webrtc/video/packet_injection_tests.cc

Issue 1273363005: Add send transports to individual webrtc::Call streams. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase+comment Created 5 years, 4 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/video/loopback.cc ('k') | webrtc/video/rampup_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/packet_injection_tests.cc
diff --git a/webrtc/video/packet_injection_tests.cc b/webrtc/video/packet_injection_tests.cc
index 7e1d98f6b4004e1f7a7aa17ea945d0eeb4acdcad..133935ca2997e27de93b599ea8d6868b980ab5b2 100644
--- a/webrtc/video/packet_injection_tests.cc
+++ b/webrtc/video/packet_injection_tests.cc
@@ -36,12 +36,12 @@ void PacketInjectionTest::InjectIncorrectPacket(CodecType codec_type,
uint8_t payload_type,
const uint8_t* packet,
size_t length) {
- test::NullTransport transport;
- CreateSenderCall(Call::Config(&transport));
- CreateReceiverCall(Call::Config(&transport));
+ CreateSenderCall(Call::Config());
+ CreateReceiverCall(Call::Config());
- CreateSendConfig(1);
- CreateMatchingReceiveConfigs();
+ test::NullTransport null_transport;
+ CreateSendConfig(1, &null_transport);
+ CreateMatchingReceiveConfigs(&null_transport);
receive_configs_[0].decoders[0].payload_type = payload_type;
switch (codec_type) {
case CodecType::kVp8:
« no previous file with comments | « webrtc/video/loopback.cc ('k') | webrtc/video/rampup_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698