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 |
(...skipping 741 matching lines...) Loading... | |
752 // experimentation with bandwidth estimation parameters. | 752 // experimentation with bandwidth estimation parameters. |
753 // See modules/remote_bitrate_estimator/overuse_detector.h | 753 // See modules/remote_bitrate_estimator/overuse_detector.h |
754 struct OverUseDetectorOptions { | 754 struct OverUseDetectorOptions { |
755 OverUseDetectorOptions() | 755 OverUseDetectorOptions() |
756 : initial_slope(8.0/512.0), | 756 : initial_slope(8.0/512.0), |
757 initial_offset(0), | 757 initial_offset(0), |
758 initial_e(), | 758 initial_e(), |
759 initial_process_noise(), | 759 initial_process_noise(), |
760 initial_avg_noise(0.0), | 760 initial_avg_noise(0.0), |
761 initial_var_noise(50), | 761 initial_var_noise(50), |
762 initial_threshold(25.0) { | 762 initial_threshold(12.5) { |
pbos-webrtc
2015/07/10 09:20:23
Remove if unused like you say it is.
| |
763 initial_e[0][0] = 100; | 763 initial_e[0][0] = 100; |
764 initial_e[1][1] = 1e-1; | 764 initial_e[1][1] = 1e-1; |
765 initial_e[0][1] = initial_e[1][0] = 0; | 765 initial_e[0][1] = initial_e[1][0] = 0; |
766 initial_process_noise[0] = 1e-13; | 766 initial_process_noise[0] = 1e-13; |
767 initial_process_noise[1] = 1e-3; | 767 initial_process_noise[1] = 1e-2; |
768 } | 768 } |
769 double initial_slope; | 769 double initial_slope; |
770 double initial_offset; | 770 double initial_offset; |
771 double initial_e[2][2]; | 771 double initial_e[2][2]; |
772 double initial_process_noise[2]; | 772 double initial_process_noise[2]; |
773 double initial_avg_noise; | 773 double initial_avg_noise; |
774 double initial_var_noise; | 774 double initial_var_noise; |
775 double initial_threshold; | 775 double initial_threshold; |
776 }; | 776 }; |
777 | 777 |
(...skipping 121 matching lines...) Loading... | |
899 class StreamDataCountersCallback { | 899 class StreamDataCountersCallback { |
900 public: | 900 public: |
901 virtual ~StreamDataCountersCallback() {} | 901 virtual ~StreamDataCountersCallback() {} |
902 | 902 |
903 virtual void DataCountersUpdated(const StreamDataCounters& counters, | 903 virtual void DataCountersUpdated(const StreamDataCounters& counters, |
904 uint32_t ssrc) = 0; | 904 uint32_t ssrc) = 0; |
905 }; | 905 }; |
906 } // namespace webrtc | 906 } // namespace webrtc |
907 | 907 |
908 #endif // WEBRTC_COMMON_TYPES_H_ | 908 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |