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 bool StartInternalCapture(string filePath) => RTCTracing.RTCStartInternalCapture(filePath);