OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 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 #import <Foundation/Foundation.h> | 11 #import <Foundation/Foundation.h> |
12 | 12 |
13 #import <WebRTC/RTCMacros.h> | 13 #import <WebRTC/RTCMacros.h> |
14 | 14 |
15 /** The only valid value for the following if set is kRTCFieldTrialEnabledValue.
*/ | 15 /** The only valid value for the following if set is kRTCFieldTrialEnabledValue.
*/ |
16 RTC_EXTERN NSString * const kRTCFieldTrialAudioSendSideBweKey; | 16 RTC_EXTERN NSString * const kRTCFieldTrialAudioSendSideBweKey; |
17 RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03Key; | 17 RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03Key; |
18 RTC_EXTERN NSString * const kRTCFieldTrialImprovedBitrateEstimateKey; | 18 RTC_EXTERN NSString * const kRTCFieldTrialImprovedBitrateEstimateKey; |
19 RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey; | 19 RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey; |
20 | 20 |
21 /** The valid value for field trials above. */ | 21 /** The valid value for field trials above. */ |
22 RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue; | 22 RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue; |
23 | 23 |
| 24 /** Use a string returned by RTCFieldTrialMedianSlopeFilterValue as the value. *
/ |
| 25 RTC_EXTERN NSString * const kRTCFieldTrialMedianSlopeFilterKey; |
| 26 RTC_EXTERN NSString *RTCFieldTrialMedianSlopeFilterValue( |
| 27 size_t windowSize, double thresholdGain); |
| 28 |
24 /** Use a string returned by RTCFieldTrialTrendlineFilterValue as the value. */ | 29 /** Use a string returned by RTCFieldTrialTrendlineFilterValue as the value. */ |
25 RTC_EXTERN NSString * const kRTCFieldTrialTrendlineFilterKey; | 30 RTC_EXTERN NSString * const kRTCFieldTrialTrendlineFilterKey; |
26 /** Returns a valid value for kRTCFieldTrialTrendlineFilterKey. */ | 31 /** Returns a valid value for kRTCFieldTrialTrendlineFilterKey. */ |
27 RTC_EXTERN NSString *RTCFieldTrialTrendlineFilterValue( | 32 RTC_EXTERN NSString *RTCFieldTrialTrendlineFilterValue( |
28 size_t windowSize, double smoothingCoeff, double thresholdGain); | 33 size_t windowSize, double smoothingCoeff, double thresholdGain); |
29 | 34 |
30 /** Initialize field trials using a dictionary mapping field trial keys to their
values. See above | 35 /** Initialize field trials using a dictionary mapping field trial keys to their
values. See above |
31 * for valid keys and values. | 36 * for valid keys and values. |
32 * Must be called before any other call into WebRTC. See: | 37 * Must be called before any other call into WebRTC. See: |
33 * webrtc/system_wrappers/include/field_trial_default.h | 38 * webrtc/system_wrappers/include/field_trial_default.h |
34 */ | 39 */ |
35 RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *>
*fieldTrials); | 40 RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *>
*fieldTrials); |
OLD | NEW |