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

Unified Diff: media/cast/net/cast_transport_config.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/cast_transport_config.h
diff --git a/media/cast/net/cast_transport_config.h b/media/cast/net/cast_transport_config.h
index 7cdeec9dd2370e3eb7630bcdd91bbb72bd788ec0..b4427dfb87d2ebb0283a2f8bc571b6a96f9b3142 100644
--- a/media/cast/net/cast_transport_config.h
+++ b/media/cast/net/cast_transport_config.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/stl_util.h"
+#include "media/cast/common/rtp_time.h"
#include "media/cast/net/cast_transport_defines.h"
namespace media {
@@ -100,7 +101,7 @@ struct EncodedFrame {
// samples encoded in all prior frames. A playback system uses this value to
// detect gaps in the stream, and otherwise stretch the signal to match
// playout targets.
- uint32 rtp_timestamp;
+ RtpTimeTicks rtp_timestamp;
// The common reference clock timestamp for this frame. This value originates
// from a sender and is used to provide lip synchronization between streams in
@@ -145,7 +146,7 @@ struct RtcpSenderInfo {
// First two members are used for rtt.
uint32 ntp_seconds;
uint32 ntp_fraction;
- uint32 rtp_timestamp;
+ RtpTimeTicks rtp_timestamp;
uint32 send_packet_count;
size_t send_octet_count;
};

Powered by Google App Engine
This is Rietveld 408576698