OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // Time of event logged. | 120 // Time of event logged. |
121 base::TimeTicks timestamp; | 121 base::TimeTicks timestamp; |
122 | 122 |
123 // Render/playout delay. Only set for FRAME_PLAYOUT events. | 123 // Render/playout delay. Only set for FRAME_PLAYOUT events. |
124 base::TimeDelta delay_delta; | 124 base::TimeDelta delay_delta; |
125 | 125 |
126 // Only set for packet events. | 126 // Only set for packet events. |
127 uint16 packet_id; | 127 uint16 packet_id; |
128 }; | 128 }; |
129 | 129 |
| 130 typedef base::Callback<void(const RtcpCastMessage&)> RtcpCastMessageCallback; |
| 131 typedef base::Callback<void(base::TimeDelta, |
| 132 base::TimeDelta, |
| 133 base::TimeDelta, |
| 134 base::TimeDelta)> RtcpRttCallback; |
| 135 typedef |
| 136 base::Callback<void(const RtcpReceiverLogMessage&)> RtcpLogMessageCallback; |
| 137 |
130 } // namespace cast | 138 } // namespace cast |
131 } // namespace media | 139 } // namespace media |
132 | 140 |
133 #endif // MEDIA_CAST_RTCP_RTCP_DEFINES_H_ | 141 #endif // MEDIA_CAST_RTCP_RTCP_DEFINES_H_ |
OLD | NEW |