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 10 matching lines...) Expand all Loading... |
21 namespace bwe { | 21 namespace bwe { |
22 | 22 |
23 class FullBweSender : public BweSender, public RemoteBitrateObserver { | 23 class FullBweSender : public BweSender, public RemoteBitrateObserver { |
24 public: | 24 public: |
25 FullBweSender(int kbps, BitrateObserver* observer, Clock* clock); | 25 FullBweSender(int kbps, BitrateObserver* observer, Clock* clock); |
26 virtual ~FullBweSender(); | 26 virtual ~FullBweSender(); |
27 | 27 |
28 int GetFeedbackIntervalMs() const override; | 28 int GetFeedbackIntervalMs() const override; |
29 void GiveFeedback(const FeedbackPacket& feedback) override; | 29 void GiveFeedback(const FeedbackPacket& feedback) override; |
30 void OnPacketsSent(const Packets& packets) override; | 30 void OnPacketsSent(const Packets& packets) override; |
31 void OnReceiveBitrateChanged(const std::vector<unsigned int>& ssrcs, | 31 void OnReceiveBitrateChanged(const std::vector<uint32_t>& ssrcs, |
32 unsigned int bitrate) override; | 32 uint32_t bitrate) override; |
33 int64_t TimeUntilNextProcess() override; | 33 int64_t TimeUntilNextProcess() override; |
34 int Process() override; | 34 int Process() override; |
35 | 35 |
36 protected: | 36 protected: |
37 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 37 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
38 rtc::scoped_ptr<RemoteBitrateEstimator> rbe_; | 38 rtc::scoped_ptr<RemoteBitrateEstimator> rbe_; |
39 rtc::scoped_ptr<RtcpBandwidthObserver> feedback_observer_; | 39 rtc::scoped_ptr<RtcpBandwidthObserver> feedback_observer_; |
40 | 40 |
41 private: | 41 private: |
42 Clock* const clock_; | 42 Clock* const clock_; |
(...skipping 17 matching lines...) Expand all Loading... |
60 private: | 60 private: |
61 int64_t last_feedback_ms_; | 61 int64_t last_feedback_ms_; |
62 std::vector<PacketInfo> packet_feedback_vector_; | 62 std::vector<PacketInfo> packet_feedback_vector_; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace bwe | 65 } // namespace bwe |
66 } // namespace testing | 66 } // namespace testing |
67 } // namespace webrtc | 67 } // namespace webrtc |
68 | 68 |
69 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_ | 69 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_ |
OLD | NEW |