Index: webrtc/test/direct_transport.cc |
diff --git a/webrtc/test/direct_transport.cc b/webrtc/test/direct_transport.cc |
index 90531eadfaf2ced07fefa87f9baf245496ec662d..1ab6be8939d86e86053b9966eb829e53d45a4060 100644 |
--- a/webrtc/test/direct_transport.cc |
+++ b/webrtc/test/direct_transport.cc |
@@ -15,17 +15,21 @@ |
namespace webrtc { |
namespace test { |
-DirectTransport::DirectTransport(Call* send_call, MediaType media_type) |
- : DirectTransport(FakeNetworkPipe::Config(), send_call, media_type) {} |
+DirectTransport::DirectTransport( |
+ Call* send_call, |
+ const std::map<uint8_t, MediaType>& payload_type_map) |
+ : DirectTransport(FakeNetworkPipe::Config(), send_call, payload_type_map) {} |
-DirectTransport::DirectTransport(const FakeNetworkPipe::Config& config, |
- Call* send_call, MediaType media_type) |
+DirectTransport::DirectTransport( |
+ const FakeNetworkPipe::Config& config, |
+ Call* send_call, |
+ const std::map<uint8_t, MediaType>& payload_type_map) |
: send_call_(send_call), |
packet_event_(false, false), |
thread_(NetworkProcess, this, "NetworkProcess"), |
clock_(Clock::GetRealTimeClock()), |
shutting_down_(false), |
- fake_network_(clock_, config, media_type) { |
+ fake_network_(clock_, config, payload_type_map) { |
thread_.Start(); |
if (send_call_) { |
send_call_->SignalChannelNetworkState(MediaType::AUDIO, kNetworkUp); |