blob: 7477ad020f37c0b197c4ea9603413a7a11b62691 [file] [log] [blame]
Anders Carlsson7bca8ca2018-08-30 09:30:29 +02001/*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#import <Foundation/Foundation.h>
12
13#import "RTCMacros.h"
14
15/** The only valid value for the following if set is kRTCFieldTrialEnabledValue. */
16RTC_EXTERN NSString * const kRTCFieldTrialAudioSendSideBweKey;
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020017RTC_EXTERN NSString * const kRTCFieldTrialAudioForceNoTWCCKey;
18RTC_EXTERN NSString * const kRTCFieldTrialAudioForceABWENoTWCCKey;
19RTC_EXTERN NSString * const kRTCFieldTrialSendSideBweWithOverheadKey;
20RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03AdvertisedKey;
21RTC_EXTERN NSString * const kRTCFieldTrialFlexFec03Key;
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020022RTC_EXTERN NSString * const kRTCFieldTrialH264HighProfileKey;
23RTC_EXTERN NSString * const kRTCFieldTrialMinimizeResamplingOnMobileKey;
Taylor Brandstetterea7fbfb2020-08-19 16:41:54 -070024RTC_EXTERN NSString *const kRTCFieldTrialUseNWPathMonitor;
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020025
26/** The valid value for field trials above. */
27RTC_EXTERN NSString * const kRTCFieldTrialEnabledValue;
28
Mirko Bonadei17f48782018-09-28 08:51:10 +020029/** Initialize field trials using a dictionary mapping field trial keys to their
30 * values. See above for valid keys and values. Must be called before any other
31 * call into WebRTC. See: webrtc/system_wrappers/include/field_trial.h
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020032 */
33RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *> *fieldTrials);