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

Unified Diff: webrtc/test/call_test.cc

Issue 2972423002: Fix video_replay tool to respect RTX stream and fix default parameters. (Closed)
Patch Set: Use call test constants as defaults values 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/test/call_test.h ('k') | webrtc/video/replay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/call_test.cc
diff --git a/webrtc/test/call_test.cc b/webrtc/test/call_test.cc
index fc3fc689f25cfb164a131e4319b37667ef856ae2..b99c80c4c97da0856fa62cb8823cb255c640cf8d 100644
--- a/webrtc/test/call_test.cc
+++ b/webrtc/test/call_test.cc
@@ -447,6 +447,10 @@ const std::map<uint8_t, MediaType> CallTest::payload_type_map_ = {
{CallTest::kFlexfecPayloadType, MediaType::VIDEO},
{CallTest::kAudioSendPayloadType, MediaType::AUDIO}};
+const int CallTest::kPayloadTypeH264 = 122;
philipel 2017/07/10 17:00:50 Codec payload types are dynamically negotiated, ri
ilnik 2017/07/10 17:06:19 Not in the Call test. I think. I am certain, that
sprang_webrtc 2017/07/10 17:29:39 Exactly, these are the constants used in tests, fo
+const int CallTest::kPayloadTypeVP8 = 123;
+const int CallTest::kPayloadTypeVP9 = 124;
tommi 2017/07/11 08:34:47 out of curiosity - should these be enum values? al
ilnik 2017/07/11 08:43:43 Actually, type really should be uint8_t. As for en
tommi 2017/07/11 10:14:45 Assuming they're all mutually exclusive, it would
ilnik 2017/07/11 10:20:59 In fact, most of them are not mutually exclusive:
tommi 2017/07/11 11:41:36 Oh I was thinking mutually exclusive values. Not u
ilnik 2017/07/11 12:20:30 Makes sense. I am making a tracking bug for that r
+
BaseTest::BaseTest() : event_log_(RtcEventLog::CreateNull()) {}
BaseTest::BaseTest(unsigned int timeout_ms)
« 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