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

Unified Diff: media/cast/net/rtcp/rtcp_defines.h

Issue 765643006: Cast: Make receiver use cast_transport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/net/rtcp/rtcp_defines.h
diff --git a/media/cast/net/rtcp/rtcp_defines.h b/media/cast/net/rtcp/rtcp_defines.h
index 3dd23ef6a4cbf28d6eae2602439fc0dc53b254e1..aa87eb6084f68b843439ff6647fbb716492dc75c 100644
--- a/media/cast/net/rtcp/rtcp_defines.h
+++ b/media/cast/net/rtcp/rtcp_defines.h
@@ -109,6 +109,35 @@ typedef base::Callback<void(base::TimeDelta)> RtcpRttCallback;
typedef
base::Callback<void(const RtcpReceiverLogMessage&)> RtcpLogMessageCallback;
+
+struct RtpReceiverStatistics {
+ RtpReceiverStatistics();
+ uint8 fraction_lost;
miu 2014/12/04 04:18:54 IMO, now's a good time to replace these data membe
hubbe 2014/12/05 23:57:20 I'm just moving this struct, I'd prefer not to cha
+ uint32 cumulative_lost; // 24 bits valid.
+ uint32 extended_high_sequence_number;
+ uint32 jitter;
+};
+
+// These are intended to only be created using Rtcp::ConvertToNTPAndSave.
+struct RtcpTimeData {
+ uint32 ntp_seconds;
+ uint32 ntp_fraction;
+ base::TimeTicks t;
miu 2014/12/04 04:18:54 naming: Can we do a little better than |t|, like |
hubbe 2014/12/05 23:57:20 Done.
+};
+
+struct SendRtcpFromRtpReceiver_Params {
+ SendRtcpFromRtpReceiver_Params();
+ ~SendRtcpFromRtpReceiver_Params();
+ uint32 ssrc;
+ uint32 sender_ssrc;
+ RtcpTimeData time_data;
+ scoped_ptr<RtcpCastMessage> cast_message;
+ base::TimeDelta target_delay;
+ scoped_ptr<std::vector<std::pair<RtpTimestamp, RtcpEvent> > > rtcp_events;
+ scoped_ptr<RtpReceiverStatistics> rtp_receiver_statistics;
+};
+
+
} // namespace cast
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698