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

Unified Diff: media/cast/net/rtcp/rtcp_utility.h

Issue 1515433002: Replace uses of raw uint32's with a type-checked RtpTimeTicks data type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative workaround fix for win8_chromium_ng compile error. Created 5 years 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 | « media/cast/net/rtcp/rtcp_unittest.cc ('k') | media/cast/net/rtcp/rtcp_utility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtcp/rtcp_utility.h
diff --git a/media/cast/net/rtcp/rtcp_utility.h b/media/cast/net/rtcp/rtcp_utility.h
index 0813bc9a46180201b97a26fa5f315a82d0ee1516..aa385f83cfa7b89ec18e9717a2e4f57755d40359 100644
--- a/media/cast/net/rtcp/rtcp_utility.h
+++ b/media/cast/net/rtcp/rtcp_utility.h
@@ -88,8 +88,8 @@ class RtcpParser {
bool ParseExtendedReportDelaySinceLastReceiverReport(
base::BigEndianReader* reader);
- uint32_t local_ssrc_;
- uint32_t remote_ssrc_;
+ const uint32_t local_ssrc_;
+ const uint32_t remote_ssrc_;
bool has_sender_report_;
RtcpSenderInfo sender_report_;
@@ -107,6 +107,11 @@ class RtcpParser {
bool has_receiver_reference_time_report_;
RtcpReceiverReferenceTimeReport receiver_reference_time_report_;
+ // Tracks recently-parsed RTP timestamps so that the truncated values can be
+ // re-expanded into full-form.
+ RtpTimeTicks last_parsed_sr_rtp_timestamp_;
+ RtpTimeTicks last_parsed_frame_log_rtp_timestamp_;
+
DISALLOW_COPY_AND_ASSIGN(RtcpParser);
};
« no previous file with comments | « media/cast/net/rtcp/rtcp_unittest.cc ('k') | media/cast/net/rtcp/rtcp_utility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698