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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log_parser.h

Issue 2666533002: Add probe logging to RtcEventLog. (Closed)
Patch Set: |min_probes| --> |min_packets| Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ 10 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_
(...skipping 30 matching lines...) Expand all
41 LOG_END = 2, 41 LOG_END = 2,
42 RTP_EVENT = 3, 42 RTP_EVENT = 3,
43 RTCP_EVENT = 4, 43 RTCP_EVENT = 4,
44 AUDIO_PLAYOUT_EVENT = 5, 44 AUDIO_PLAYOUT_EVENT = 5,
45 BWE_PACKET_LOSS_EVENT = 6, 45 BWE_PACKET_LOSS_EVENT = 6,
46 BWE_PACKET_DELAY_EVENT = 7, 46 BWE_PACKET_DELAY_EVENT = 7,
47 VIDEO_RECEIVER_CONFIG_EVENT = 8, 47 VIDEO_RECEIVER_CONFIG_EVENT = 8,
48 VIDEO_SENDER_CONFIG_EVENT = 9, 48 VIDEO_SENDER_CONFIG_EVENT = 9,
49 AUDIO_RECEIVER_CONFIG_EVENT = 10, 49 AUDIO_RECEIVER_CONFIG_EVENT = 10,
50 AUDIO_SENDER_CONFIG_EVENT = 11, 50 AUDIO_SENDER_CONFIG_EVENT = 11,
51 AUDIO_NETWORK_ADAPTATION_EVENT = 16 51 AUDIO_NETWORK_ADAPTATION_EVENT = 16,
52 BWE_PROBE_CLUSTER_CREATED_EVENT = 17,
53 BWE_PROBE_RESULT_EVENT = 18
52 }; 54 };
53 55
54 // Reads an RtcEventLog file and returns true if parsing was successful. 56 // Reads an RtcEventLog file and returns true if parsing was successful.
55 bool ParseFile(const std::string& file_name); 57 bool ParseFile(const std::string& file_name);
56 58
57 // Reads an RtcEventLog from a string and returns true if successful. 59 // Reads an RtcEventLog from a string and returns true if successful.
58 bool ParseString(const std::string& s); 60 bool ParseString(const std::string& s);
59 61
60 // Reads an RtcEventLog from an istream and returns true if successful. 62 // Reads an RtcEventLog from an istream and returns true if successful.
61 bool ParseStream(std::istream& stream); 63 bool ParseStream(std::istream& stream);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 size_t index, 133 size_t index,
132 AudioNetworkAdaptor::EncoderRuntimeConfig* config) const; 134 AudioNetworkAdaptor::EncoderRuntimeConfig* config) const;
133 135
134 private: 136 private:
135 std::vector<rtclog::Event> events_; 137 std::vector<rtclog::Event> events_;
136 }; 138 };
137 139
138 } // namespace webrtc 140 } // namespace webrtc
139 141
140 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ 142 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698