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 kRTCFieldTrialSendSideBweWithOverheadKey; | 17 RTC_EXTERN NSString * const kRTCFieldTrialSendSideBweWithOverheadKey; |
18 RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03AdvertisedKey; | 18 RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03AdvertisedKey; |
19 RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03Key; | 19 RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03Key; |
| 20 RTC_EXTERN NSString * const kRTCFieldTrialImprovedBitrateEstimateKey; |
20 RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey; | 21 RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey; |
21 | 22 |
22 /** The valid value for field trials above. */ | 23 /** The valid value for field trials above. */ |
23 RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue; | 24 RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue; |
24 | 25 |
25 /** Use a string returned by RTCFieldTrialMedianSlopeFilterValue as the value. *
/ | 26 /** Use a string returned by RTCFieldTrialMedianSlopeFilterValue as the value. *
/ |
26 RTC_EXTERN NSString * const kRTCFieldTrialMedianSlopeFilterKey; | 27 RTC_EXTERN NSString * const kRTCFieldTrialMedianSlopeFilterKey; |
27 RTC_EXTERN NSString *RTCFieldTrialMedianSlopeFilterValue( | 28 RTC_EXTERN NSString *RTCFieldTrialMedianSlopeFilterValue( |
28 size_t windowSize, double thresholdGain); | 29 size_t windowSize, double thresholdGain); |
29 | 30 |
30 /** Use a string returned by RTCFieldTrialTrendlineFilterValue as the value. */ | 31 /** Use a string returned by RTCFieldTrialTrendlineFilterValue as the value. */ |
31 RTC_EXTERN NSString * const kRTCFieldTrialTrendlineFilterKey; | 32 RTC_EXTERN NSString * const kRTCFieldTrialTrendlineFilterKey; |
32 /** Returns a valid value for kRTCFieldTrialTrendlineFilterKey. */ | 33 /** Returns a valid value for kRTCFieldTrialTrendlineFilterKey. */ |
33 RTC_EXTERN NSString *RTCFieldTrialTrendlineFilterValue( | 34 RTC_EXTERN NSString *RTCFieldTrialTrendlineFilterValue( |
34 size_t windowSize, double smoothingCoeff, double thresholdGain); | 35 size_t windowSize, double smoothingCoeff, double thresholdGain); |
35 | 36 |
36 /** Initialize field trials using a dictionary mapping field trial keys to their
values. See above | 37 /** Initialize field trials using a dictionary mapping field trial keys to their
values. See above |
37 * for valid keys and values. | 38 * for valid keys and values. |
38 * Must be called before any other call into WebRTC. See: | 39 * Must be called before any other call into WebRTC. See: |
39 * webrtc/system_wrappers/include/field_trial_default.h | 40 * webrtc/system_wrappers/include/field_trial_default.h |
40 */ | 41 */ |
41 RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *>
*fieldTrials); | 42 RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *>
*fieldTrials); |
OLD | NEW |