VsICoreEncoder VsICoreEncoderDescription.CreateEncoder(long syncTimer, object config) { VsRawEncoderConfiguration cfg = (VsRawEncoderConfiguration)config; if (cfg != null) { VsRawEncoder encoder = new VsRawEncoder(syncTimer); encoder.EncoderName = cfg.CodecsName; return (VsRawEncoder)encoder; } return null; }
VsICoreEncoder VsICoreEncoderDescription.CreateEncoder(long syncTimer, object config) { VsRawEncoderConfiguration cfg = (VsRawEncoderConfiguration)config; if (cfg != null) { VsRawEncoder encoder = new VsRawEncoder(syncTimer); encoder.EncoderName = cfg.CodecsName; return((VsRawEncoder)encoder); } return(null); }