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