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

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

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/test/sender.cc ('k') | media/cast/transport/cast_transport_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/transport/cast_transport_config.h
diff --git a/media/cast/transport/cast_transport_config.h b/media/cast/transport/cast_transport_config.h
index d72d1f8e32e26328835253adf56b19efb8c8c9b2..cddd6d11e8563ef677728496112c6045c7da5e2e 100644
--- a/media/cast/transport/cast_transport_config.h
+++ b/media/cast/transport/cast_transport_config.h
@@ -36,26 +36,27 @@
struct RtpConfig {
RtpConfig();
- ~RtpConfig();
- uint32 ssrc;
+ int history_ms; // The time RTP packets are stored for retransmissions.
int max_delay_ms;
int payload_type;
+};
+
+// TODO(mikhal): Consider combining this with the cast_sender config.
+struct CastTransportBaseConfig {
+ CastTransportBaseConfig();
+ ~CastTransportBaseConfig();
+
+ uint32 ssrc;
+ RtpConfig rtp_config;
std::string aes_key; // Binary string of size kAesKeySize.
std::string aes_iv_mask; // Binary string of size kAesBlockSize.
-};
-
-struct CastTransportRtpConfig {
- CastTransportRtpConfig();
- ~CastTransportRtpConfig();
- RtpConfig config;
- int max_outstanding_frames;
};
struct CastTransportAudioConfig {
CastTransportAudioConfig();
~CastTransportAudioConfig();
- CastTransportRtpConfig rtp;
+ CastTransportBaseConfig base;
AudioCodec codec;
int frequency;
int channels;
@@ -65,7 +66,7 @@
CastTransportVideoConfig();
~CastTransportVideoConfig();
- CastTransportRtpConfig rtp;
+ CastTransportBaseConfig base;
VideoCodec codec;
};
« no previous file with comments | « media/cast/test/sender.cc ('k') | media/cast/transport/cast_transport_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698