OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 | 451 |
452 Call::Config BaseTest::GetReceiverCallConfig() { | 452 Call::Config BaseTest::GetReceiverCallConfig() { |
453 return Call::Config(&event_log_); | 453 return Call::Config(&event_log_); |
454 } | 454 } |
455 | 455 |
456 void BaseTest::OnCallsCreated(Call* sender_call, Call* receiver_call) { | 456 void BaseTest::OnCallsCreated(Call* sender_call, Call* receiver_call) { |
457 } | 457 } |
458 | 458 |
459 test::PacketTransport* BaseTest::CreateSendTransport(Call* sender_call) { | 459 test::PacketTransport* BaseTest::CreateSendTransport(Call* sender_call) { |
460 return new PacketTransport(sender_call, this, test::PacketTransport::kSender, | 460 return new PacketTransport(sender_call, this, test::PacketTransport::kSender, |
461 MediaType::VIDEO, | |
462 FakeNetworkPipe::Config()); | 461 FakeNetworkPipe::Config()); |
463 } | 462 } |
464 | 463 |
465 test::PacketTransport* BaseTest::CreateReceiveTransport() { | 464 test::PacketTransport* BaseTest::CreateReceiveTransport() { |
466 return new PacketTransport(nullptr, this, test::PacketTransport::kReceiver, | 465 return new PacketTransport(nullptr, this, test::PacketTransport::kReceiver, |
467 MediaType::VIDEO, | |
468 FakeNetworkPipe::Config()); | 466 FakeNetworkPipe::Config()); |
469 } | 467 } |
470 | 468 |
471 size_t BaseTest::GetNumVideoStreams() const { | 469 size_t BaseTest::GetNumVideoStreams() const { |
472 return 1; | 470 return 1; |
473 } | 471 } |
474 | 472 |
475 size_t BaseTest::GetNumAudioStreams() const { | 473 size_t BaseTest::GetNumAudioStreams() const { |
476 return 0; | 474 return 0; |
477 } | 475 } |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 | 523 |
526 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { | 524 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { |
527 } | 525 } |
528 | 526 |
529 bool EndToEndTest::ShouldCreateReceivers() const { | 527 bool EndToEndTest::ShouldCreateReceivers() const { |
530 return true; | 528 return true; |
531 } | 529 } |
532 | 530 |
533 } // namespace test | 531 } // namespace test |
534 } // namespace webrtc | 532 } // namespace webrtc |
OLD | NEW |