public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

            this.settings = settings;
            this.recording = recording;

            SetupControlValues();
        }
Beispiel #2
0
        public ViewRecordingDlg(RecordingSettings settings, ViewRecording recording)
        {
            InitializeComponent();

            this.settings  = settings;
            this.recording = recording;

            SetupControlValues();
        }
Beispiel #3
0
        public EncodingDlg(ViewRecording recording, RecordingSettings settings,
                           string outFilename, IRecordingRenderer renderer)
        {
            InitializeComponent();

            this.recording = recording;
            this.settings = settings;
            this.renderer = renderer;
            this.outFilename = outFilename;

            workThread = new Thread(this.EncodeProcess);
        }
Beispiel #4
0
        public EncodingDlg(ViewRecording recording, RecordingSettings settings,
                           string outFilename, IRecordingRenderer renderer)
        {
            InitializeComponent();

            this.recording   = recording;
            this.settings    = settings;
            this.renderer    = renderer;
            this.outFilename = outFilename;

            workThread = new Thread(this.EncodeProcess);
        }
        public void StartRecording(RecordingSettings settings)
        {
            ViewRecording.ViewRecorder vr = new ViewRecording.ViewRecorder();
            ViewRecording rec = new ViewRecording(vr);
            EncodingDlg dlg = new EncodingDlg(rec, RecordingSettings.DefaultsInstance, "c:/testOut.avi", renderContext);
            dlg.ShowDialog(this);

            // start recording actions
            //if (settings == null)
            //    this.rSettings = RecordingSettings.DefaultsInstance;
            //else
            //    this.rSettings = settings;

            //controlHandler.Recorder = new ViewRecording.ViewRecorder();
            //renderContext.Recording = true;
        }