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); |
}; |