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

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

Issue 387933005: Cast: Refactor RTCP handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: smaller diff Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698