// Close video source public void CloseAnalyserSource() { try { if (vsAnalyserSource != null) { vsAnalyserSource = null; } } catch (Exception err) { logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);; } }
// ----------------------------------------------------------------------------------------------------------------------- // Create vsAnalyzer source // ----------------------------------------------------------------------------------------------------------------------- public bool CreateAnalyserSource() { try { if (vsAnalyzer != null) { if ((vsAnalyserSource = vsAnalyzer.CreateAnalyserSource(syncTimer, AnalyserConfiguration)) != null) { AnalyzerLinking(); return(true); } } } catch (Exception err) { logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);; } return(false); }
// ----------------------------------------------------------------------------------------------------------------------- // Create vsAnalyzer source // ----------------------------------------------------------------------------------------------------------------------- public bool CreateAnalyserSource() { try { if (vsAnalyzer != null) { if ((vsAnalyserSource = vsAnalyzer.CreateAnalyserSource(syncTimer, AnalyserConfiguration)) != null) { AnalyzerLinking(); return true; } } } catch (Exception err) { logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);; } return false; }