public VideoEncoder() { #if !UNITY_EDITOR NativeEncoder = new NativeEncoder(); NativeEncoder.Create(); #endif }
public VideoEncoder() { NativeEncoder = new NativeEncoder(); NativeEncoder.Create(); }
public VideoEncoder(int width, int height, int bitRate, int fps, CodecType codectype, string path) { EncodeConfig = new NativeEncodeConfig(width, height, bitRate, fps, codectype, path); NativeEncoder = new NativeEncoder(); NativeEncoder.Create(); }