// Close vsEncoder source public void CloseEncoderSource() { try { if (vsEncoderSource != null) { vsEncoderSource = null; } } catch (Exception err) { logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);; } }
// ----------------------------------------------------------------------------------------------------------------------- // Create vsEncoder source // ----------------------------------------------------------------------------------------------------------------------- public bool CreateEncoderSource() { try { if (vsEncoder != null) { if ((vsEncoderSource = vsEncoder.CreateEncoderSource(syncTimer, EncoderConfiguration)) != null) { EncoderLinking(); return(true); } } } catch (Exception err) { logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);; } return(false); }
// ----------------------------------------------------------------------------------------------------------------------- // Create vsEncoder source // ----------------------------------------------------------------------------------------------------------------------- public bool CreateEncoderSource() { try { if (vsEncoder != null) { if ((vsEncoderSource = vsEncoder.CreateEncoderSource(syncTimer, EncoderConfiguration)) != null) { EncoderLinking(); return true; } } } catch (Exception err) { logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);; } return false; }