| Index: webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
|
| diff --git a/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java b/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
|
| index 8bbc33b8cfe1c0c0136767c37fd7b32c33805dc9..75d3be9e8b89ce2aba6f86cce7248733db392d99 100644
|
| --- a/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
|
| +++ b/webrtc/sdk/android/api/org/webrtc/PeerConnectionFactory.java
|
| @@ -57,6 +57,14 @@ public class PeerConnectionFactory {
|
| // Field trial initialization. Must be called before PeerConnectionFactory
|
| // is created.
|
| public static native void initializeFieldTrials(String fieldTrialsInitString);
|
| + // Wrapper of webrtc::field_trial::FindFullName. Develop the feature with default behaviour off.
|
| + // Example usage:
|
| + // if (PeerConnectionFactory.fieldTrialsFindFullName("WebRTCExperiment").equals("Enabled")) {
|
| + // method1();
|
| + // } else {
|
| + // method2();
|
| + // }
|
| + public static native String fieldTrialsFindFullName(String name);
|
| // Internal tracing initialization. Must be called before PeerConnectionFactory is created to
|
| // prevent racing with tracing code.
|
| public static native void initializeInternalTracer();
|
|
|