Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream.h

Issue 1736663004: Revert of Remove ignored return code from modules. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 13 matching lines...) Expand all
24 class RemoteBitrateEstimatorSingleStream : public RemoteBitrateEstimator { 24 class RemoteBitrateEstimatorSingleStream : public RemoteBitrateEstimator {
25 public: 25 public:
26 RemoteBitrateEstimatorSingleStream(RemoteBitrateObserver* observer, 26 RemoteBitrateEstimatorSingleStream(RemoteBitrateObserver* observer,
27 Clock* clock); 27 Clock* clock);
28 virtual ~RemoteBitrateEstimatorSingleStream(); 28 virtual ~RemoteBitrateEstimatorSingleStream();
29 29
30 void IncomingPacket(int64_t arrival_time_ms, 30 void IncomingPacket(int64_t arrival_time_ms,
31 size_t payload_size, 31 size_t payload_size,
32 const RTPHeader& header, 32 const RTPHeader& header,
33 bool was_paced) override; 33 bool was_paced) override;
34 void Process() override; 34 int32_t Process() override;
35 int64_t TimeUntilNextProcess() override; 35 int64_t TimeUntilNextProcess() override;
36 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override; 36 void OnRttUpdate(int64_t avg_rtt_ms, int64_t max_rtt_ms) override;
37 void RemoveStream(uint32_t ssrc) override; 37 void RemoveStream(uint32_t ssrc) override;
38 bool LatestEstimate(std::vector<uint32_t>* ssrcs, 38 bool LatestEstimate(std::vector<uint32_t>* ssrcs,
39 uint32_t* bitrate_bps) const override; 39 uint32_t* bitrate_bps) const override;
40 void SetMinBitrate(int min_bitrate_bps) override; 40 void SetMinBitrate(int min_bitrate_bps) override;
41 41
42 private: 42 private:
43 struct Detector; 43 struct Detector;
44 44
(...skipping 14 matching lines...) Expand all
59 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_; 59 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect_;
60 int64_t last_process_time_; 60 int64_t last_process_time_;
61 int64_t process_interval_ms_ GUARDED_BY(crit_sect_.get()); 61 int64_t process_interval_ms_ GUARDED_BY(crit_sect_.get());
62 62
63 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorSingleStream); 63 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RemoteBitrateEstimatorSingleStream);
64 }; 64 };
65 65
66 } // namespace webrtc 66 } // namespace webrtc
67 67
68 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SING LE_STREAM_H_ 68 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_REMOTE_BITRATE_ESTIMATOR_SING LE_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698