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

Unified Diff: media/cast/transport/cast_transport_config.cc

Issue 268983002: Revert of Cast: Fix two video freezing problems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « media/cast/transport/cast_transport_config.h ('k') | media/cast/transport/cast_transport_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/transport/cast_transport_config.cc
diff --git a/media/cast/transport/cast_transport_config.cc b/media/cast/transport/cast_transport_config.cc
index b6dba5215043ab8acbf68a813fce718f318cbe2e..cdff2fcd7b7dd79363aea0711fb6f955f97660f2 100644
--- a/media/cast/transport/cast_transport_config.cc
+++ b/media/cast/transport/cast_transport_config.cc
@@ -9,20 +9,19 @@
namespace transport {
namespace {
+const int kDefaultRtpHistoryMs = 1000;
const int kDefaultRtpMaxDelayMs = 100;
} // namespace
RtpConfig::RtpConfig()
- : ssrc(0),
+ : history_ms(kDefaultRtpHistoryMs),
max_delay_ms(kDefaultRtpMaxDelayMs),
payload_type(0) {}
-RtpConfig::~RtpConfig() {}
+CastTransportBaseConfig::CastTransportBaseConfig()
+ : ssrc(0) {}
-CastTransportRtpConfig::CastTransportRtpConfig()
- : max_outstanding_frames(-1) {}
-
-CastTransportRtpConfig::~CastTransportRtpConfig() {}
+CastTransportBaseConfig::~CastTransportBaseConfig() {}
CastTransportAudioConfig::CastTransportAudioConfig()
: codec(kOpus), frequency(0), channels(0) {}
« no previous file with comments | « media/cast/transport/cast_transport_config.h ('k') | media/cast/transport/cast_transport_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698