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 |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 class RembBweSender : public BweSender { | 29 class RembBweSender : public BweSender { |
30 public: | 30 public: |
31 RembBweSender(int kbps, BitrateObserver* observer, Clock* clock); | 31 RembBweSender(int kbps, BitrateObserver* observer, Clock* clock); |
32 virtual ~RembBweSender(); | 32 virtual ~RembBweSender(); |
33 | 33 |
34 int GetFeedbackIntervalMs() const override; | 34 int GetFeedbackIntervalMs() const override; |
35 void GiveFeedback(const FeedbackPacket& feedback) override; | 35 void GiveFeedback(const FeedbackPacket& feedback) override; |
36 void OnPacketsSent(const Packets& packets) override {} | 36 void OnPacketsSent(const Packets& packets) override {} |
37 int64_t TimeUntilNextProcess() override; | 37 int64_t TimeUntilNextProcess() override; |
38 int Process() override; | 38 void Process() override; |
39 | 39 |
40 protected: | 40 protected: |
41 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 41 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
42 rtc::scoped_ptr<RtcpBandwidthObserver> feedback_observer_; | 42 rtc::scoped_ptr<RtcpBandwidthObserver> feedback_observer_; |
43 | 43 |
44 private: | 44 private: |
45 Clock* clock_; | 45 Clock* clock_; |
46 | 46 |
47 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RembBweSender); | 47 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RembBweSender); |
48 }; | 48 }; |
(...skipping 25 matching lines...) Expand all Loading... |
74 rtc::scoped_ptr<RemoteBitrateEstimator> estimator_; | 74 rtc::scoped_ptr<RemoteBitrateEstimator> estimator_; |
75 | 75 |
76 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RembReceiver); | 76 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RembReceiver); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace bwe | 79 } // namespace bwe |
80 } // namespace testing | 80 } // namespace testing |
81 } // namespace webrtc | 81 } // namespace webrtc |
82 | 82 |
83 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_REMB_H_ | 83 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_REMB_H_ |
OLD | NEW |