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

Unified Diff: webrtc/tools/event_log_visualizer/analyzer.h

Issue 2220383004: Visualize delay changes based on both abs-send-time and capture time. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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
Index: webrtc/tools/event_log_visualizer/analyzer.h
diff --git a/webrtc/tools/event_log_visualizer/analyzer.h b/webrtc/tools/event_log_visualizer/analyzer.h
index ce2179f5fb60030c35b8e9f493fb9e133a65d9d3..e60647f78e5890898c1fea52dc96b5a93f1046d6 100644
--- a/webrtc/tools/event_log_visualizer/analyzer.h
+++ b/webrtc/tools/event_log_visualizer/analyzer.h
@@ -25,6 +25,14 @@
namespace webrtc {
namespace plotting {
+struct LoggedRtpPacket {
+ LoggedRtpPacket(uint64_t timestamp, RTPHeader header, size_t total_length)
+ : timestamp(timestamp), header(header), total_length(total_length) {}
+ uint64_t timestamp;
+ RTPHeader header;
+ size_t total_length;
+};
+
class EventLogAnalyzer {
public:
// The EventLogAnalyzer keeps a reference to the ParsedRtcEventLog for the
@@ -73,14 +81,6 @@ class EventLogAnalyzer {
webrtc::PacketDirection direction_;
};
- struct LoggedRtpPacket {
- LoggedRtpPacket(uint64_t timestamp, RTPHeader header, size_t total_length)
- : timestamp(timestamp), header(header), total_length(total_length) {}
- uint64_t timestamp;
- RTPHeader header;
- size_t total_length;
- };
-
struct LoggedRtcpPacket {
stefan-webrtc 2016/08/09 11:43:17 Maybe move this out too for consistency?
terelius 2016/08/09 12:04:27 Done. Also moved BwePacketLossEvent.
LoggedRtcpPacket(uint64_t timestamp,
RTCPPacketType rtcp_type,
« no previous file with comments | « no previous file | webrtc/tools/event_log_visualizer/analyzer.cc » ('j') | webrtc/tools/event_log_visualizer/analyzer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698