public static void ShutdownInternalTracer() => NativeFactory.ShutDownInternalTracer();
 public static void StopInternalTracingCapture() => NativeFactory.StopInternalTracingCapture();
 public PeerConnectionFactory()
 {
     _peerConnectionFactory = NativeFactory.CreatePeerConnectionFactory();
 }
 public PeerConnectionFactory(IVideoEncoderFactory encoderFactory = null, IVideoDecoderFactory decoderFactory = null)
 {
     _peerConnectionFactory = NativeFactory.CreatePeerConnectionFactory();
 }
Example #5
0
        public static RTCCertificate GenerateCertificateWithParams(Dictionary <string, string> parameters)
        {
            EncryptionKeyType encryptionKeyType = (EncryptionKeyType)Enum.Parse(typeof(EncryptionKeyType), parameters["private_key"]);
            long expiry = long.Parse(parameters["certificate"]);

            return((parameters.ContainsKey("private_key") && parameters.ContainsKey("certificate")) ? NativeFactory.CreateCertificate(encryptionKeyType, expiry) : null);
        }