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

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

Issue 343523005: Cast: Avoid retransmit if we sent the same packet recently (less than RTT) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bugfix Created 6 years, 6 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_sender/audio_sender.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 14 matching lines...) Expand all
25 FRAME_CAPTURE_END, 25 FRAME_CAPTURE_END,
26 FRAME_ENCODED, 26 FRAME_ENCODED,
27 FRAME_ACK_RECEIVED, 27 FRAME_ACK_RECEIVED,
28 // Receiver side frame events. 28 // Receiver side frame events.
29 FRAME_ACK_SENT, 29 FRAME_ACK_SENT,
30 FRAME_DECODED, 30 FRAME_DECODED,
31 FRAME_PLAYOUT, 31 FRAME_PLAYOUT,
32 // Sender side packet events. 32 // Sender side packet events.
33 PACKET_SENT_TO_NETWORK, 33 PACKET_SENT_TO_NETWORK,
34 PACKET_RETRANSMITTED, 34 PACKET_RETRANSMITTED,
35 PACKET_RTX_REJECTED,
35 // Receiver side packet events. 36 // Receiver side packet events.
36 PACKET_RECEIVED, 37 PACKET_RECEIVED,
37 kNumOfLoggingEvents = PACKET_RECEIVED 38 kNumOfLoggingEvents = PACKET_RECEIVED
38 }; 39 };
39 40
40 const char* CastLoggingToString(CastLoggingEvent event); 41 const char* CastLoggingToString(CastLoggingEvent event);
41 42
42 // CastLoggingEvent are classified into one of three following types. 43 // CastLoggingEvent are classified into one of three following types.
43 enum EventMediaType { 44 enum EventMediaType {
44 AUDIO_EVENT, 45 AUDIO_EVENT,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Time of event logged. 89 // Time of event logged.
89 base::TimeTicks timestamp; 90 base::TimeTicks timestamp;
90 CastLoggingEvent type; 91 CastLoggingEvent type;
91 EventMediaType media_type; 92 EventMediaType media_type;
92 }; 93 };
93 94
94 } // namespace cast 95 } // namespace cast
95 } // namespace media 96 } // namespace media
96 97
97 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_ 98 #endif // MEDIA_CAST_LOGGING_LOGGING_DEFINES_H_
OLDNEW
« no previous file with comments | « media/cast/audio_sender/audio_sender.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698