RTCFieldTrials.h 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  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. #import <Foundation/Foundation.h>
  11. #import <WebRTC/RTCMacros.h>
  12. /** The only valid value for the following if set is kRTCFieldTrialEnabledValue. */
  13. RTC_EXTERN NSString *const kRTCFieldTrialAudioForceABWENoTWCCKey;
  14. RTC_EXTERN NSString *const kRTCFieldTrialFlexFec03AdvertisedKey;
  15. RTC_EXTERN NSString *const kRTCFieldTrialFlexFec03Key;
  16. RTC_EXTERN NSString *const kRTCFieldTrialH264HighProfileKey;
  17. RTC_EXTERN NSString *const kRTCFieldTrialMinimizeResamplingOnMobileKey;
  18. RTC_EXTERN NSString *const kRTCFieldTrialUseNWPathMonitor;
  19. /** The valid value for field trials above. */
  20. RTC_EXTERN NSString *const kRTCFieldTrialEnabledValue;
  21. /** Initialize field trials using a dictionary mapping field trial keys to their
  22. * values. See above for valid keys and values. Must be called before any other
  23. * call into WebRTC. See: webrtc/system_wrappers/include/field_trial.h
  24. */
  25. RTC_EXTERN void RTCInitFieldTrialDictionary(NSDictionary<NSString *, NSString *> *fieldTrials);