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

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

Issue 138753004: Cast: IPC glue between cast library transport and encoders. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted deps Created 6 years, 10 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
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 16ab143b0c738ffdf2d8d7b99b68dbd990b1fa9c..3cc419137f362ce30f4744cbe3b4612409c645b9 100644
--- a/media/cast/transport/cast_transport_config.h
+++ b/media/cast/transport/cast_transport_config.h
@@ -121,7 +121,7 @@ struct RtcpSenderFrameLogMessage {
uint32 rtp_timestamp;
};
-typedef std::list<RtcpSenderFrameLogMessage> RtcpSenderLogMessage;
+typedef std::vector<RtcpSenderFrameLogMessage> RtcpSenderLogMessage;
struct RtcpSenderInfo {
RtcpSenderInfo();
@@ -155,6 +155,16 @@ struct RtcpDlrrReportBlock {
uint32 delay_since_last_rr;
};
+// This is only needed because IPC messages don't support more than
+// 5 arguments.
+struct SendRtcpFromRtpSenderData {
+ SendRtcpFromRtpSenderData();
+ ~SendRtcpFromRtpSenderData();
+ uint32 packet_type_flags;
+ uint32 sending_ssrc;
+ std::string c_name;
palmer 2014/02/11 00:50:04 What is the intended structure of this string? Ca
hubbe 2014/02/12 00:54:24 Apparently, the CNAME comes from RFC 3550 page 46,
+};
+
inline bool operator==(RtcpSenderInfo lhs, RtcpSenderInfo rhs) {
return lhs.ntp_seconds == rhs.ntp_seconds &&
lhs.ntp_fraction == rhs.ntp_fraction &&

Powered by Google App Engine
This is Rietveld 408576698