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

Unified Diff: webrtc/media/base/rtpdump.h

Issue 1835053002: Change default timestamp to 64 bits in all webrtc directories. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Add TODO for timestamp. Created 4 years, 7 months 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 | « webrtc/libjingle/xmpp/xmpppump.cc ('k') | webrtc/media/base/rtpdump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/rtpdump.h
diff --git a/webrtc/media/base/rtpdump.h b/webrtc/media/base/rtpdump.h
index 395408c53b23f32d6dec582464b55f71359880e8..8ea7800e9c74114db37971dcbe01dcb61947578d 100644
--- a/webrtc/media/base/rtpdump.h
+++ b/webrtc/media/base/rtpdump.h
@@ -40,7 +40,7 @@ enum RtpDumpPacketFilter {
};
struct RtpDumpFileHeader {
- RtpDumpFileHeader(uint32_t start_ms, uint32_t s, uint16_t p);
+ RtpDumpFileHeader(int64_t start_ms, uint32_t s, uint16_t p);
void WriteToByteBuffer(rtc::ByteBufferWriter* buf);
static const char kFirstLine[];
@@ -113,7 +113,7 @@ class RtpDumpReader {
rtc::StreamInterface* stream_;
bool file_header_read_;
size_t first_line_and_file_header_len_;
- uint32_t start_time_ms_;
+ int64_t start_time_ms_;
uint32_t ssrc_override_;
RTC_DISALLOW_COPY_AND_ASSIGN(RtpDumpReader);
@@ -159,10 +159,10 @@ class RtpDumpLoopReader : public RtpDumpReader {
// the previous dump packets in the input stream.
uint32_t first_elapsed_time_;
int first_rtp_seq_num_;
- uint32_t first_rtp_timestamp_;
+ int64_t first_rtp_timestamp_;
uint32_t prev_elapsed_time_;
int prev_rtp_seq_num_;
- uint32_t prev_rtp_timestamp_;
+ int64_t prev_rtp_timestamp_;
RTC_DISALLOW_COPY_AND_ASSIGN(RtpDumpLoopReader);
};
@@ -207,9 +207,9 @@ class RtpDumpWriter {
rtc::StreamInterface* stream_;
int packet_filter_;
bool file_header_written_;
- uint32_t start_time_ms_; // Time when the record starts.
+ int64_t start_time_ms_; // Time when the record starts.
// If writing to the stream takes longer than this many ms, log a warning.
- uint32_t warn_slow_writes_delay_;
+ int64_t warn_slow_writes_delay_;
RTC_DISALLOW_COPY_AND_ASSIGN(RtpDumpWriter);
};
« no previous file with comments | « webrtc/libjingle/xmpp/xmpppump.cc ('k') | webrtc/media/base/rtpdump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698