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

Side by Side Diff: media/cast/net/rtcp/rtcp_defines.h

Issue 532373003: [Cast] RTT clean-up to the max! (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_RTCP_RTCP_DEFINES_H_ 5 #ifndef MEDIA_CAST_RTCP_RTCP_DEFINES_H_
6 #define MEDIA_CAST_RTCP_RTCP_DEFINES_H_ 6 #define MEDIA_CAST_RTCP_RTCP_DEFINES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Time of event logged. 97 // Time of event logged.
98 base::TimeTicks timestamp; 98 base::TimeTicks timestamp;
99 99
100 // Render/playout delay. Only set for FRAME_PLAYOUT events. 100 // Render/playout delay. Only set for FRAME_PLAYOUT events.
101 base::TimeDelta delay_delta; 101 base::TimeDelta delay_delta;
102 102
103 // Only set for packet events. 103 // Only set for packet events.
104 uint16 packet_id; 104 uint16 packet_id;
105 }; 105 };
106 106
107 struct RtcpRttReport {
108 RtcpRttReport();
109 ~RtcpRttReport();
110
111 base::TimeDelta rtt;
112 base::TimeDelta avg_rtt;
113 base::TimeDelta min_rtt;
114 base::TimeDelta max_rtt;
115 };
116
117 typedef base::Callback<void(const RtcpCastMessage&)> RtcpCastMessageCallback; 107 typedef base::Callback<void(const RtcpCastMessage&)> RtcpCastMessageCallback;
118 typedef base::Callback<void(base::TimeDelta, 108 typedef base::Callback<void(base::TimeDelta)> RtcpRttCallback;
119 base::TimeDelta,
120 base::TimeDelta,
121 base::TimeDelta)> RtcpRttCallback;
122 typedef 109 typedef
123 base::Callback<void(const RtcpReceiverLogMessage&)> RtcpLogMessageCallback; 110 base::Callback<void(const RtcpReceiverLogMessage&)> RtcpLogMessageCallback;
124 111
125 } // namespace cast 112 } // namespace cast
126 } // namespace media 113 } // namespace media
127 114
128 #endif // MEDIA_CAST_RTCP_RTCP_DEFINES_H_ 115 #endif // MEDIA_CAST_RTCP_RTCP_DEFINES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698