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

Unified Diff: media/cast/net/pacing/paced_sender.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: 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
Index: media/cast/net/pacing/paced_sender.h
diff --git a/media/cast/net/pacing/paced_sender.h b/media/cast/net/pacing/paced_sender.h
index f37ebe7f27614cd5058cda15b5c8ce471d8fb910..35bbe10bd41704daab6a84cc8972ffb37512ba34 100644
--- a/media/cast/net/pacing/paced_sender.h
+++ b/media/cast/net/pacing/paced_sender.h
@@ -225,6 +225,11 @@ class PacedSender : public PacedPacketSender,
bool has_reached_upper_bound_once_;
+ // Tracks recently-logged RTP timestamps so that it can expand the truncated
+ // values found in packets.
+ RtpTimeTicks last_logged_audio_rtp_timestamp_;
+ RtpTimeTicks last_logged_video_rtp_timestamp_;
+
// NOTE: Weak pointers must be invalidated before all other member variables.
base::WeakPtrFactory<PacedSender> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698