public AlertEvents(VideoFeedOptions o) { //initalize values options = o; alarmInterval = 0; timer = new Timer(); timer.Tick += new EventHandler(timer_Tick); timer.Interval = 100; timer.Start(); //events n stuff recording = false; audioPlayed = false; frameDropThreshold = 0; Log.debug(String.Format("Alert Events Initialized for {0}",o.Name)); }
public AlertEvents(VideoFeedOptions o) { //initalize values options = o; alarmInterval = 0; timer = new Timer(); timer.Tick += new EventHandler(timer_Tick); timer.Interval = 100; timer.Start(); //events n stuff recording = false; audioPlayed = false; frameDropThreshold = 0; Log.debug(String.Format("Alert Events Initialized for {0}", o.Name)); }