public static void Init(IDictionary <string, string> trialsFields = null, bool enableInternalTracer = true,
                                bool mockSimulatorCamera = true)
        {
            if (trialsFields?.Any() ?? false)
            {
                RTCFieldTrials.InitFieldTrialDictionary(trialsFields);
            }

            if (enableInternalTracer)
            {
                RTCTracing.RTCStartInternalCapture("log.txt");
            }

            RTCSSLAdapter.RTCInitializeSSL();
            Abstraction.NativeFactory.Init(new NativeFactory(mockSimulatorCamera));
        }
 public static void Cleanup()
 {
     RTCTracing.RTCShutdownInternalTracer();
     RTCSSLAdapter.RTCCleanupSSL();
 }
 public override void WillTerminate(UIApplication application)
 {
     // Called when the application is about to terminate. Save data, if needed. See also DidEnterBackground.
     RTCTracing.RTCShutdownInternalTracer();
     RTCSSLAdapter.RTCCleanupSSL();
 }
 public void StopInternalTracingCapture() => RTCTracing.RTCStopInternalCapture();
 public bool StartInternalCapture(string filePath) => RTCTracing.RTCStartInternalCapture(filePath);
 public void ShutDownInternalTracer() => RTCTracing.RTCShutdownInternalTracer();