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

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

Issue 164253003: Cast: Split kDuplicatePacketReceived into separate events for audio/video. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « media/cast/audio_receiver/audio_receiver.cc ('k') | 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // Video receiver. 60 // Video receiver.
61 kVideoFrameDecoded, 61 kVideoFrameDecoded,
62 kVideoRenderDelay, 62 kVideoRenderDelay,
63 // Send-side packet events. 63 // Send-side packet events.
64 kPacketSentToPacer, 64 kPacketSentToPacer,
65 kPacketSentToNetwork, 65 kPacketSentToNetwork,
66 kPacketRetransmitted, 66 kPacketRetransmitted,
67 // Receive-side packet events. 67 // Receive-side packet events.
68 kAudioPacketReceived, 68 kAudioPacketReceived,
69 kVideoPacketReceived, 69 kVideoPacketReceived,
70 kDuplicatePacketReceived, 70 kDuplicateAudioPacketReceived,
71 kDuplicateVideoPacketReceived,
71 kNumOfLoggingEvents, 72 kNumOfLoggingEvents,
72 }; 73 };
73 74
74 std::string CastLoggingToString(CastLoggingEvent event); 75 std::string CastLoggingToString(CastLoggingEvent event);
75 76
76 typedef uint32 RtpTimestamp; 77 typedef uint32 RtpTimestamp;
77 78
78 struct FrameEvent { 79 struct FrameEvent {
79 FrameEvent(); 80 FrameEvent();
80 ~FrameEvent(); 81 ~FrameEvent();
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 166
166 167
167 typedef std::map<CastLoggingEvent, FrameLogStats> FrameStatsMap; 168 typedef std::map<CastLoggingEvent, FrameLogStats> FrameStatsMap;
168 typedef std::map<CastLoggingEvent, PacketLogStats> PacketStatsMap; 169 typedef std::map<CastLoggingEvent, PacketLogStats> PacketStatsMap;
169 typedef std::map<CastLoggingEvent, GenericLogStats> GenericStatsMap; 170 typedef std::map<CastLoggingEvent, GenericLogStats> GenericStatsMap;
170 171
171 } // namespace cast 172 } // namespace cast
172 } // namespace media 173 } // namespace media
173 174
174 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ 175 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_
OLDNEW
« no previous file with comments | « media/cast/audio_receiver/audio_receiver.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698