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