Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Side by Side Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCFieldTrials.h

Issue 2871393002: AppRTCMobile support to turn off the WebRTC AGC and HPF (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 kRTCFieldTrialImprovedBitrateEstimateKey;
21 RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey; 21 RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey;
22 RTC_EXTERN NSString* const kRTCFieldTrialStandaloneLevelControlProfileKey;
sakal 2017/05/12 08:53:35 ditto
22 23
23 /** The valid value for field trials above. */ 24 /** The valid value for field trials above. */
24 RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue; 25 RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue;
25 26
26 /** Use a string returned by RTCFieldTrialMedianSlopeFilterValue as the value. * / 27 /** Use a string returned by RTCFieldTrialMedianSlopeFilterValue as the value. * /
27 RTC_EXTERN NSString * const kRTCFieldTrialMedianSlopeFilterKey; 28 RTC_EXTERN NSString * const kRTCFieldTrialMedianSlopeFilterKey;
28 RTC_EXTERN NSString *RTCFieldTrialMedianSlopeFilterValue( 29 RTC_EXTERN NSString *RTCFieldTrialMedianSlopeFilterValue(
29 size_t windowSize, double thresholdGain); 30 size_t windowSize, double thresholdGain);
30 31
31 /** Use a string returned by RTCFieldTrialTrendlineFilterValue as the value. */ 32 /** Use a string returned by RTCFieldTrialTrendlineFilterValue as the value. */
32 RTC_EXTERN NSString * const kRTCFieldTrialTrendlineFilterKey; 33 RTC_EXTERN NSString * const kRTCFieldTrialTrendlineFilterKey;
33 /** Returns a valid value for kRTCFieldTrialTrendlineFilterKey. */ 34 /** Returns a valid value for kRTCFieldTrialTrendlineFilterKey. */
34 RTC_EXTERN NSString *RTCFieldTrialTrendlineFilterValue( 35 RTC_EXTERN NSString *RTCFieldTrialTrendlineFilterValue(
35 size_t windowSize, double smoothingCoeff, double thresholdGain); 36 size_t windowSize, double smoothingCoeff, double thresholdGain);
36 37
37 /** Initialize field trials using a dictionary mapping field trial keys to their values. See above 38 /** Initialize field trials using a dictionary mapping field trial keys to their values. See above
38 * for valid keys and values. 39 * for valid keys and values.
39 * Must be called before any other call into WebRTC. See: 40 * Must be called before any other call into WebRTC. See:
40 * webrtc/system_wrappers/include/field_trial_default.h 41 * webrtc/system_wrappers/include/field_trial_default.h
41 */ 42 */
42 RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *> *fieldTrials); 43 RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *> *fieldTrials);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698