OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_CAST_RTP_TIMESTAMP_HELPER_H_ | 5 #ifndef MEDIA_CAST_SENDER_RTP_TIMESTAMP_HELPER_H_ |
6 #define MEDIA_CAST_RTP_TIMESTAMP_HELPER_H_ | 6 #define MEDIA_CAST_SENDER_RTP_TIMESTAMP_HELPER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 | 10 |
11 namespace media { | 11 namespace media { |
12 namespace cast { | 12 namespace cast { |
13 | 13 |
14 // A helper class used to convert current time ticks into RTP timestamp. | 14 // A helper class used to convert current time ticks into RTP timestamp. |
15 class RtpTimestampHelper { | 15 class RtpTimestampHelper { |
16 public: | 16 public: |
(...skipping 14 matching lines...) Expand all Loading... |
31 int frequency_; | 31 int frequency_; |
32 base::TimeTicks last_capture_time_; | 32 base::TimeTicks last_capture_time_; |
33 uint32 last_rtp_timestamp_; | 33 uint32 last_rtp_timestamp_; |
34 | 34 |
35 DISALLOW_COPY_AND_ASSIGN(RtpTimestampHelper); | 35 DISALLOW_COPY_AND_ASSIGN(RtpTimestampHelper); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace cast | 38 } // namespace cast |
39 } // namespace media | 39 } // namespace media |
40 | 40 |
41 #endif // MEDIA_CAST_CAST_DEFINES_H_ | 41 #endif // MEDIA_CAST_SENDER_RTP_TIMESTAMP_HELPER_H_ |
OLD | NEW |