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

Unified Diff: media/cast/net/rtp/rtp_parser.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/rtp/rtp_parser.h
diff --git a/media/cast/net/rtp/rtp_parser.h b/media/cast/net/rtp/rtp_parser.h
index d9e6ab97ca1ef0277b45ddcf43139f313ebfdd04..3e8e2f1dfe5b32ba1969adfa54e1bbc2999c3d2b 100644
--- a/media/cast/net/rtp/rtp_parser.h
+++ b/media/cast/net/rtp/rtp_parser.h
@@ -38,6 +38,11 @@ class RtpParser {
private:
const uint32 expected_sender_ssrc_;
const uint8 expected_payload_type_;
+
+ // Tracks recently-parsed RTP timestamps so that it can expand the truncated
+ // values found in packets.
+ RtpTimeTicks last_parsed_rtp_timestamp_;
+
FrameIdWrapHelper frame_id_wrap_helper_;
DISALLOW_COPY_AND_ASSIGN(RtpParser);

Powered by Google App Engine
This is Rietveld 408576698