public void StartRecording(string fileName, double fps, bool showCompressionDialog)
        {
            if (!isRecording)
            {
                aviTools.StartNewAviFile(fileName, width, height, 8, fps, showCompressionDialog);
            }

            isRecording = true;
        }
Esempio n. 2
0
        public void StartRecording(string fileName, double fps, bool showCompressionDialog)
        {
            if (!isRecording)
            {
                if (integration > 1)
                {
                    throw new DriverException("The IVideo Simulator doesn't support recording when camera is integrating.");
                }

                aviTools.StartNewAviFile(fileName, width, height, 8, fps, showCompressionDialog);
            }

            isRecording = true;
        }