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

Side by Side Diff: webrtc/test/call_test.cc

Issue 2972423002: Fix video_replay tool to respect RTX stream and fix default parameters. (Closed)
Patch Set: Fix format Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « webrtc/test/call_test.h ('k') | webrtc/video/replay.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 const int CallTest::kDefaultTimeoutMs = 30 * 1000; 420 const int CallTest::kDefaultTimeoutMs = 30 * 1000;
421 const int CallTest::kLongTimeoutMs = 120 * 1000; 421 const int CallTest::kLongTimeoutMs = 120 * 1000;
422 const uint8_t CallTest::kVideoSendPayloadType = 100; 422 const uint8_t CallTest::kVideoSendPayloadType = 100;
423 const uint8_t CallTest::kFakeVideoSendPayloadType = 125; 423 const uint8_t CallTest::kFakeVideoSendPayloadType = 125;
424 const uint8_t CallTest::kSendRtxPayloadType = 98; 424 const uint8_t CallTest::kSendRtxPayloadType = 98;
425 const uint8_t CallTest::kRedPayloadType = 118; 425 const uint8_t CallTest::kRedPayloadType = 118;
426 const uint8_t CallTest::kRtxRedPayloadType = 99; 426 const uint8_t CallTest::kRtxRedPayloadType = 99;
427 const uint8_t CallTest::kUlpfecPayloadType = 119; 427 const uint8_t CallTest::kUlpfecPayloadType = 119;
428 const uint8_t CallTest::kFlexfecPayloadType = 120; 428 const uint8_t CallTest::kFlexfecPayloadType = 120;
429 const uint8_t CallTest::kAudioSendPayloadType = 103; 429 const uint8_t CallTest::kAudioSendPayloadType = 103;
430 const uint8_t CallTest::kPayloadTypeH264 = 122;
431 const uint8_t CallTest::kPayloadTypeVP8 = 123;
432 const uint8_t CallTest::kPayloadTypeVP9 = 124;
430 const uint32_t CallTest::kSendRtxSsrcs[kNumSsrcs] = {0xBADCAFD, 0xBADCAFE, 433 const uint32_t CallTest::kSendRtxSsrcs[kNumSsrcs] = {0xBADCAFD, 0xBADCAFE,
431 0xBADCAFF}; 434 0xBADCAFF};
432 const uint32_t CallTest::kVideoSendSsrcs[kNumSsrcs] = {0xC0FFED, 0xC0FFEE, 435 const uint32_t CallTest::kVideoSendSsrcs[kNumSsrcs] = {0xC0FFED, 0xC0FFEE,
433 0xC0FFEF}; 436 0xC0FFEF};
434 const uint32_t CallTest::kAudioSendSsrc = 0xDEADBEEF; 437 const uint32_t CallTest::kAudioSendSsrc = 0xDEADBEEF;
435 const uint32_t CallTest::kFlexfecSendSsrc = 0xBADBEEF; 438 const uint32_t CallTest::kFlexfecSendSsrc = 0xBADBEEF;
436 const uint32_t CallTest::kReceiverLocalVideoSsrc = 0x123456; 439 const uint32_t CallTest::kReceiverLocalVideoSsrc = 0x123456;
437 const uint32_t CallTest::kReceiverLocalAudioSsrc = 0x1234567; 440 const uint32_t CallTest::kReceiverLocalAudioSsrc = 0x1234567;
438 const int CallTest::kNackRtpHistoryMs = 1000; 441 const int CallTest::kNackRtpHistoryMs = 1000;
439 442
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 550
548 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) { 551 EndToEndTest::EndToEndTest(unsigned int timeout_ms) : BaseTest(timeout_ms) {
549 } 552 }
550 553
551 bool EndToEndTest::ShouldCreateReceivers() const { 554 bool EndToEndTest::ShouldCreateReceivers() const {
552 return true; 555 return true;
553 } 556 }
554 557
555 } // namespace test 558 } // namespace test
556 } // namespace webrtc 559 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/call_test.h ('k') | webrtc/video/replay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698