OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 // This class estimates the incoming available bandwidth. | 11 // This class estimates the incoming available bandwidth. |
12 | 12 |
13 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMATOR
_H_ | 13 #ifndef WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMATOR
_H_ |
14 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMATOR
_H_ | 14 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMATOR
_H_ |
15 | 15 |
16 #include <map> | 16 #include <map> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
20 #include "webrtc/modules/interface/module.h" | 20 #include "webrtc/modules/include/module.h" |
21 #include "webrtc/modules/interface/module_common_types.h" | 21 #include "webrtc/modules/include/module_common_types.h" |
22 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
23 #include "webrtc/typedefs.h" | 23 #include "webrtc/typedefs.h" |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 | 26 |
27 class Clock; | 27 class Clock; |
28 | 28 |
29 // RemoteBitrateObserver is used to signal changes in bitrate estimates for | 29 // RemoteBitrateObserver is used to signal changes in bitrate estimates for |
30 // the incoming streams. | 30 // the incoming streams. |
31 class RemoteBitrateObserver { | 31 class RemoteBitrateObserver { |
32 public: | 32 public: |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual void SetMinBitrate(int min_bitrate_bps) = 0; | 94 virtual void SetMinBitrate(int min_bitrate_bps) = 0; |
95 | 95 |
96 protected: | 96 protected: |
97 static const int64_t kProcessIntervalMs = 500; | 97 static const int64_t kProcessIntervalMs = 500; |
98 static const int64_t kStreamTimeOutMs = 2000; | 98 static const int64_t kStreamTimeOutMs = 2000; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace webrtc | 101 } // namespace webrtc |
102 | 102 |
103 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMA
TOR_H_ | 103 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_INCLUDE_REMOTE_BITRATE_ESTIMA
TOR_H_ |
OLD | NEW |