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

Unified Diff: media/cast/net/rtp/rtp_packetizer.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_packetizer.h
diff --git a/media/cast/net/rtp/rtp_packetizer.h b/media/cast/net/rtp/rtp_packetizer.h
index 034a74a2a50decfec20c0e7b277f616a276f502d..ab304fb79e582a77c9ef0ba2a8f33769dc8588d8 100644
--- a/media/cast/net/rtp/rtp_packetizer.h
+++ b/media/cast/net/rtp/rtp_packetizer.h
@@ -10,6 +10,7 @@
#include <map>
#include "base/time/time.h"
+#include "media/cast/common/rtp_time.h"
#include "media/cast/net/rtp/packet_storage.h"
namespace base {
@@ -54,15 +55,15 @@ class RtpPacketizer {
size_t send_octet_count() const { return send_octet_count_; }
private:
- void BuildCommonRTPheader(Packet* packet, bool marker_bit, uint32 time_stamp);
+ void BuildCommonRTPheader(Packet* packet,
+ bool marker_bit,
+ RtpTimeTicks rtp_timestamp);
RtpPacketizerConfig config_;
PacedSender* const transport_; // Not owned by this class.
PacketStorage* packet_storage_;
uint16 sequence_number_;
- uint32 rtp_timestamp_;
- uint16 packet_id_;
size_t send_packet_count_;
size_t send_octet_count_;

Powered by Google App Engine
This is Rietveld 408576698