| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 |
| 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TRANSPORT_FEEDBACK_ADAPTER_H_ | 11 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TRANSPORT_FEEDBACK_ADAPTER_H_ |
| 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TRANSPORT_FEEDBACK_ADAPTER_H_ | 12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TRANSPORT_FEEDBACK_ADAPTER_H_ |
| 13 | 13 |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "webrtc/base/criticalsection.h" | 16 #include "webrtc/base/criticalsection.h" |
| 17 #include "webrtc/base/thread_annotations.h" | 17 #include "webrtc/base/thread_annotations.h" |
| 18 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 19 #include "webrtc/modules/interface/module_common_types.h" | 19 #include "webrtc/modules/include/module_common_types.h" |
| 20 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" | 20 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat
or.h" |
| 21 #include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h" | 21 #include "webrtc/modules/remote_bitrate_estimator/include/send_time_history.h" |
| 22 | 22 |
| 23 namespace webrtc { | 23 namespace webrtc { |
| 24 | 24 |
| 25 class ProcessThread; | 25 class ProcessThread; |
| 26 | 26 |
| 27 class TransportFeedbackAdapter : public TransportFeedbackObserver, | 27 class TransportFeedbackAdapter : public TransportFeedbackObserver, |
| 28 public CallStatsObserver, | 28 public CallStatsObserver, |
| 29 public RemoteBitrateObserver { | 29 public RemoteBitrateObserver { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 58 rtc::scoped_ptr<RemoteBitrateEstimator> bitrate_estimator_; | 58 rtc::scoped_ptr<RemoteBitrateEstimator> bitrate_estimator_; |
| 59 ProcessThread* const process_thread_; | 59 ProcessThread* const process_thread_; |
| 60 Clock* const clock_; | 60 Clock* const clock_; |
| 61 int64_t current_offset_ms_; | 61 int64_t current_offset_ms_; |
| 62 int64_t last_timestamp_us_; | 62 int64_t last_timestamp_us_; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace webrtc | 65 } // namespace webrtc |
| 66 | 66 |
| 67 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TRANSPORT_FEEDBACK_ADAPTER_H_ | 67 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TRANSPORT_FEEDBACK_ADAPTER_H_ |
| OLD | NEW |