Example #1
0
 public NativeEncodeConfig(NativeEncodeConfig config)
 {
     this.Width      = config.Width;
     this.height     = config.height;
     this.bitRate    = config.bitRate;
     this.fps        = config.fps;
     this.codecType  = config.codecType;
     this.outPutPath = config.outPutPath;
 }
Example #2
0
 /// <summary> Constructor. </summary>
 /// <param name="config"> The configuration.</param>
 public NativeEncodeConfig(NativeEncodeConfig config)
     : this(config.width, config.height, config.bitRate, config.fps, (CodecType)config.codecType, config.outPutPath, config.useAlpha)
 {
 }