Chromium Code Reviews

Unified Diff: webrtc/system_wrappers/include/rtp_to_ntp.h

Issue 2435053004: Use NtpTime in RtcpMeasurement instead of uint sec/uint frac. (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/system_wrappers/include/rtp_to_ntp.h
diff --git a/webrtc/system_wrappers/include/rtp_to_ntp.h b/webrtc/system_wrappers/include/rtp_to_ntp.h
index 866144116c89bf39364c56369377a5e2774f01a2..c1e7ab603ec6d15138d1447708cfefac860206d1 100644
--- a/webrtc/system_wrappers/include/rtp_to_ntp.h
+++ b/webrtc/system_wrappers/include/rtp_to_ntp.h
@@ -13,6 +13,7 @@
#include <list>
+#include "webrtc/system_wrappers/include/ntp_time.h"
#include "webrtc/typedefs.h"
namespace webrtc {
@@ -22,8 +23,7 @@ struct RtcpMeasurement {
RtcpMeasurement(uint32_t ntp_secs, uint32_t ntp_frac, uint32_t timestamp);
bool IsEqual(const RtcpMeasurement& other) const;
- uint32_t ntp_secs;
- uint32_t ntp_frac;
+ NtpTime ntp_time;
uint32_t rtp_timestamp;
};
« no previous file with comments | « no previous file | webrtc/system_wrappers/source/rtp_to_ntp.cc » ('j') | webrtc/video/stream_synchronization_unittest.cc » ('J')

Powered by Google App Engine