public VideoEncoder()
        {
#if !UNITY_EDITOR
            NativeEncoder = new NativeEncoder();
            NativeEncoder.Create();
#endif
        }
示例#2
0
 public VideoEncoder()
 {
     NativeEncoder = new NativeEncoder();
     NativeEncoder.Create();
 }
示例#3
0
 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();
 }