예제 #1
0
        private void btnRecord_Click(object sender, EventArgs e)
        {
            if (videoObject != null)
            {
                string fileName = Path.GetFullPath(string.Format("{0}\\video-{1}.avi", Settings.Default.OutputLocation, DateTime.Now.ToString("yyyy-MMM-dd HH-mm-ss")));

                recordingfileName = videoObject.StartRecording(fileName);

                UpdateState();

                framesBeforeUpdatingCameraVideoFormat = 4;
            }
        }
예제 #2
0
 public string StartRecording(string fileName)
 {
     return(IsolatedFunc((x) => m_delegate.StartRecording(x), fileName));
 }