| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 // Estimates the NTP timestamp in local timebase from |rtp_timestamp|. | 37 // Estimates the NTP timestamp in local timebase from |rtp_timestamp|. |
| 38 // Returns the NTP timestamp in ms when success. -1 if failed. | 38 // Returns the NTP timestamp in ms when success. -1 if failed. |
| 39 int64_t Estimate(uint32_t rtp_timestamp); | 39 int64_t Estimate(uint32_t rtp_timestamp); |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 Clock* clock_; | 42 Clock* clock_; |
| 43 rtc::scoped_ptr<TimestampExtrapolator> ts_extrapolator_; | 43 rtc::scoped_ptr<TimestampExtrapolator> ts_extrapolator_; |
| 44 RtcpList rtcp_list_; | 44 RtcpList rtcp_list_; |
| 45 int64_t last_timing_log_ms_; | 45 int64_t last_timing_log_ms_; |
| 46 DISALLOW_COPY_AND_ASSIGN(RemoteNtpTimeEstimator); | 46 RTC_DISALLOW_COPY_AND_ASSIGN(RemoteNtpTimeEstimator); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace webrtc | 49 } // namespace webrtc |
| 50 | 50 |
| 51 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_REMOTE_NTP_TIME_ESTIMATOR_H_ | 51 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_REMOTE_NTP_TIME_ESTIMATOR_H_ |
| OLD | NEW |