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

Side by Side Diff: media/cast/logging/logging_defines.h

Issue 83903002: Cast: Add capabity to parse receiver and sender log messages over RTCP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge TOT Created 7 years, 1 month 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
« no previous file with comments | « no previous file | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_LOGGING_LOGGING_DEFINES_H_ 5 #ifndef MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_
6 #define MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ 6 #define MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 bool enable_data_collection; 22 bool enable_data_collection;
23 bool enable_uma_stats; 23 bool enable_uma_stats;
24 bool enable_tracing; 24 bool enable_tracing;
25 }; 25 };
26 26
27 // By default, enable raw and stats data collection. Disable tracing and UMA. 27 // By default, enable raw and stats data collection. Disable tracing and UMA.
28 CastLoggingConfig GetDefaultCastLoggingConfig(); 28 CastLoggingConfig GetDefaultCastLoggingConfig();
29 29
30 enum CastLoggingEvent { 30 enum CastLoggingEvent {
31 // Generic events. 31 // Generic events.
32 kUnknown,
32 kRttMs, 33 kRttMs,
33 kPacketLoss, 34 kPacketLoss,
34 kJitterMs, 35 kJitterMs,
35 kAckReceived, 36 kAckReceived,
36 kRembBitrate, 37 kRembBitrate,
37 kAckSent, 38 kAckSent,
38 kLastEvent, 39 kLastEvent,
39 // Audio sender. 40 // Audio sender.
40 kAudioFrameReceived, 41 kAudioFrameReceived,
41 kAudioFrameCaptured, 42 kAudioFrameCaptured,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 typedef std::map<CastLoggingEvent, GenericEvent> GenericRawMap; 119 typedef std::map<CastLoggingEvent, GenericEvent> GenericRawMap;
119 120
120 typedef std::map<CastLoggingEvent, linked_ptr<FrameLogStats > > FrameStatsMap; 121 typedef std::map<CastLoggingEvent, linked_ptr<FrameLogStats > > FrameStatsMap;
121 typedef std::map<CastLoggingEvent, double> PacketStatsMap; 122 typedef std::map<CastLoggingEvent, double> PacketStatsMap;
122 typedef std::map<CastLoggingEvent, double> GenericStatsMap; 123 typedef std::map<CastLoggingEvent, double> GenericStatsMap;
123 124
124 } // namespace cast 125 } // namespace cast
125 } // namespace media 126 } // namespace media
126 127
127 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ 128 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_
OLDNEW
« no previous file with comments | « no previous file | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698