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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log_parser.h

Issue 2782553005: Visualize events related to probing in the total bitrate graph. (Closed)
Patch Set: GRAPH --> CHART Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/logging/rtc_event_log/rtc_event_log_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/logging/rtc_event_log/rtc_event_log_parser.h
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_parser.h b/webrtc/logging/rtc_event_log/rtc_event_log_parser.h
index 1460a4ca8358d4c45720da7469dfd01443f55509..bb3c406d65c3cbaba688b0ca5d97c25a6ba0945e 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log_parser.h
+++ b/webrtc/logging/rtc_event_log/rtc_event_log_parser.h
@@ -35,6 +35,21 @@ class ParsedRtcEventLog {
friend class RtcEventLogTestHelper;
public:
+ struct BweProbeClusterCreatedEvent {
+ uint64_t timestamp;
+ uint32_t id;
+ uint64_t bitrate_bps;
+ uint32_t min_packets;
+ uint32_t min_bytes;
+ };
+
+ struct BweProbeResultEvent {
+ uint64_t timestamp;
+ uint32_t id;
+ rtc::Optional<uint64_t> bitrate_bps;
+ rtc::Optional<ProbeFailureReason> failure_reason;
+ };
+
enum EventType {
UNKNOWN_EVENT = 0,
LOG_START = 1,
@@ -142,6 +157,11 @@ class ParsedRtcEventLog {
size_t index,
AudioNetworkAdaptor::EncoderRuntimeConfig* config) const;
+ ParsedRtcEventLog::BweProbeClusterCreatedEvent GetBweProbeClusterCreated(
+ size_t index) const;
+
+ ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const;
+
private:
std::vector<rtclog::Event> events_;
};
« no previous file with comments | « no previous file | webrtc/logging/rtc_event_log/rtc_event_log_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698